1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,127263,149428,e=>{"use strict";var t=e.i(660981);let r=t.forwardRef(function({title:e,titleId:r,...a},s){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:s,"aria-labelledby":r},a),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21.752 15.002A9.72 9.72 0 0 1 18 15.75c-5.385 0-9.75-4.365-9.75-9.75 0-1.33.266-2.597.748-3.752A9.753 9.753 0 0 0 3 11.25C3 16.635 7.365 21 12.75 21a9.753 9.753 0 0 0 9.002-5.998Z"}))});e.s(["MoonIcon",0,r],127263);let a=t.forwardRef(function({title:e,titleId:r,...a},s){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:s,"aria-labelledby":r},a),e?t.createElement("title",{id:r},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 3v2.25m6.364.386-1.591 1.591M21 12h-2.25m-.386 6.364-1.591-1.591M12 18.75V21m-4.773-4.227-1.591 1.591M5.25 12H3m4.227-4.773L5.636 5.636M15.75 12a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0Z"}))});e.s(["SunIcon",0,a],149428)},740226,e=>{"use strict";var t=e.i(660981),r=e.i(291967),a=e.i(357784),s=e.i(144977),n=e.i(156207),l=e.i(461194),o=e.i(556872),i=e.i(252960),d=e.i(534643),c=e.i(770460),u=e.i(966587),m="rovingFocusGroup.onEntryFocus",h={bubbles:!1,cancelable:!0},x="RovingFocusGroup",[f,p,g]=(0,a.createCollection)(x),[v,b]=(0,n.createContextScope)(x,[g]),[w,j]=v(x),k=t.forwardRef((e,t)=>(0,u.jsx)(f.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,u.jsx)(f.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,u.jsx)(N,{...e,ref:t})})}));k.displayName=x;var N=t.forwardRef((e,a)=>{let{__scopeRovingFocusGroup:n,orientation:l,loop:f=!1,dir:g,currentTabStopId:v,defaultCurrentTabStopId:b,onCurrentTabStopIdChange:j,onEntryFocus:k,preventScrollOnEntryFocus:N=!1,...y}=e,C=t.useRef(null),S=(0,s.useComposedRefs)(a,C),I=(0,c.useDirection)(g),[R,F]=(0,d.useControllableState)({prop:v,defaultProp:b??null,onChange:j,caller:x}),[M,L]=t.useState(!1),T=(0,i.useCallbackRef)(k),D=p(n),A=t.useRef(!1),[O,B]=t.useState(0);return t.useEffect(()=>{let e=C.current;if(e)return e.addEventListener(m,T),()=>e.removeEventListener(m,T)},[T]),(0,u.jsx)(w,{scope:n,orientation:l,dir:I,loop:f,currentTabStopId:R,onItemFocus:t.useCallback(e=>F(e),[F]),onItemShiftTab:t.useCallback(()=>L(!0),[]),onFocusableItemAdd:t.useCallback(()=>B(e=>e+1),[]),onFocusableItemRemove:t.useCallback(()=>B(e=>e-1),[]),children:(0,u.jsx)(o.Primitive.div,{tabIndex:M||0===O?-1:0,"data-orientation":l,...y,ref:S,style:{outline:"none",...e.style},onMouseDown:(0,r.composeEventHandlers)(e.onMouseDown,()=>{A.current=!0}),onFocus:(0,r.composeEventHandlers)(e.onFocus,e=>{let t=!A.current;if(e.target===e.currentTarget&&t&&!M){let t=new CustomEvent(m,h);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=D().filter(e=>e.focusable);E([e.find(e=>e.active),e.find(e=>e.id===R),...e].filter(Boolean).map(e=>e.ref.current),N)}}A.current=!1}),onBlur:(0,r.composeEventHandlers)(e.onBlur,()=>L(!1))})})}),y="RovingFocusGroupItem",C=t.forwardRef((e,a)=>{let{__scopeRovingFocusGroup:s,focusable:n=!0,active:i=!1,tabStopId:d,children:c,...m}=e,h=(0,l.useId)(),x=d||h,g=j(y,s),v=g.currentTabStopId===x,b=p(s),{onFocusableItemAdd:w,onFocusableItemRemove:k,currentTabStopId:N}=g;return t.useEffect(()=>{if(n)return w(),()=>k()},[n,w,k]),(0,u.jsx)(f.ItemSlot,{scope:s,id:x,focusable:n,active:i,children:(0,u.jsx)(o.Primitive.span,{tabIndex:v?0:-1,"data-orientation":g.orientation,...m,ref:a,onMouseDown:(0,r.composeEventHandlers)(e.onMouseDown,e=>{n?g.onItemFocus(x):e.preventDefault()}),onFocus:(0,r.composeEventHandlers)(e.onFocus,()=>g.onItemFocus(x)),onKeyDown:(0,r.composeEventHandlers)(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey)return void g.onItemShiftTab();if(e.target!==e.currentTarget)return;let t=function(e,t,r){var a;let s=(a=e.key,"rtl"!==r?a:"ArrowLeft"===a?"ArrowRight":"ArrowRight"===a?"ArrowLeft":a);if(!("vertical"===t&&["ArrowLeft","ArrowRight"].includes(s))&&!("horizontal"===t&&["ArrowUp","ArrowDown"].includes(s)))return S[s]}(e,g.orientation,g.dir);if(void 0!==t){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let s=b().filter(e=>
1e.focusable).map(e=>e.ref.current);if("last"===t)s.reverse();else if("prev"===t||"next"===t){var r,a;"prev"===t&&s.reverse();let n=s.indexOf(e.currentTarget);s=g.loop?(r=s,a=n+1,r.map((e,t)=>r[(a+t)%r.length])):s.slice(n+1)}setTimeout(()=>E(s))}}),children:"function"==typeof c?c({isCurrentTabStop:v,hasTabStop:null!=N}):c})})});C.displayName=y;var S={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function E(e,t=!1){let r=document.activeElement;for(let a of e)if(a===r||(a.focus({preventScroll:t}),document.activeElement!==r))return}e.s(["Item",()=>C,"Root",()=>k,"createRovingFocusGroupScope",()=>b])},267239,e=>{"use strict";let t=(0,e.i(198631).default)("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);e.s(["default",()=>t])},338843,9603,488689,e=>{"use strict";var t=e.i(966587),r=e.i(660981);let a=r.forwardRef(function({title:e,titleId:t,...a},s){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:s,"aria-labelledby":t},a),e?r.createElement("title",{id:t},e):null,r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25h16.5"}))});e.s(["Bars3Icon",0,a],9603);let s=r.forwardRef(function({title:e,titleId:t,...a},s){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:s,"aria-labelledby":t},a),e?r.createElement("title",{id:t},e):null,r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18 18 6M6 6l12 12"}))});e.s(["XMarkIcon",0,s],488689);var n=e.i(821447),l=e.i(388760),o=e.i(980376);function i({navigation:e}){let[i,d]=(0,r.useState)(!1);return(0,t.jsxs)(o.Sheet,{onOpenChange:d,open:i,children:[(0,t.jsx)(o.SheetTrigger,{asChild:!0,children:(0,t.jsxs)("button",{className:"-m-2.5 inline-flex items-center justify-center rounded-md p-2.5 text-muted-foreground",type:"button",children:[(0,t.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,t.jsx)(a,{"aria-hidden":"true",className:"h-6 w-6"})]})}),(0,t.jsxs)(o.SheetContent,{className:"w-full sm:max-w-sm",side:"right",children:[(0,t.jsxs)(o.SheetHeader,{className:"flex flex-row items-center justify-between",children:[(0,t.jsx)(n.default,{href:"/",onClick:()=>d(!1),children:(0,t.jsx)(l.Logo,{className:"h-8 w-auto"})}),(0,t.jsx)(o.SheetTitle,{className:"sr-only",children:"Navigation menu"}),(0,t.jsx)(o.SheetClose,{asChild:!0,children:(0,t.jsxs)("button",{className:"-m-2.5 rounded-md p-2.5 text-muted-foreground",type:"button",children:[(0,t.jsx)("span",{className:"sr-only",children:"Close menu"}),(0,t.jsx)(s,{"aria-hidden":"true",className:"h-6 w-6"})]})})]}),(0,t.jsx)("div",{className:"mt-6 flow-root",children:(0,t.jsxs)("div",{className:"-my-6 divide-y divide-border",children:[(0,t.jsx)("div",{className:"space-y-2 py-6",children:e.map(e=>(0,t.jsx)(n.default,{className:"-mx-3 block rounded-lg px-3 py-2 font-semibold text-base text-foreground leading-7 hover:bg-muted",href:e.href,onClick:()=>d(!1),children:e.name},e.name))}),(0,t.jsx)("div",{className:"py-6",children:(0,t.jsx)(n.default,{className:"-mx-3 block rounded-lg px-3 py-2.5 font-semibold text-base text-foreground leading-7 hover:bg-muted",href:"/login",onClick:()=>d(!1),children:"Log in"})})]})})]})]})}e.s(["HeaderMobileMenu",()=>i],338843)},503661,e=>{"use strict";var t=e.i(966587),r=e.i(9603),a=e.i(488689),s=e.i(660981),n=e.i(821447),l=e.i(710576);let o=[{items:[{title:"Overview",slug:"overview"},{title:"Quick Start",slug:"quick-start"},{title:"Reolink",slug:"reolink"},{title:"Don't open port 554",slug:"no-port-forward"}]},{title:"Guides",items:[{title:"Push from OBS",slug:"guides/obs-octostream-rtmp-push"},{title:"Restream to X (Twitter) Livestream",slug:"guides/restream-to-x-twitter-livestream"}]}];var i=e.i(168703);function d({section:e,currentSlug:r}){return e.title?(0,t.jsxs)("div",{className:"mb-4",children:[(0,t.jsx)(n.default,{className:"block py-2 font-semibold text-neutral-600 text-sm hover:text-neutral-900 dark:text-neutral-400 dark:hover:text-neutral-100",href:`/docs/${e.title.toLowerCase()}`,children:e.title}),(0,t.jsx)("ul",{className:"mt-1 space-y-1",children:e.items.map(e=>(0,t.jsx)("li",{children:(0,t.jsx)(n.default,{className:(0,i.cn)("block rounded-md py-1.5 pl-4 text-sm transition-colors",r===e.slug?"bg-neutral-100 font-medium text-neutral-900 dark:bg-neutral-800 dark:text-neutral-100":"text-neutral-600 hover:bg-neutral-50 hover:text-neutral-900 dark:text-neutral-400 dark:hover:bg-neutral-800/50 dark:hover:text-neutral-100"),href:`/docs/${e.slug}`,children:e.title})},e.slug))})]}):(0,t.jsx)("ul",{className:"mb-4 space-y-1",children:e.items.map(e=>(0,t.jsx)("li",{children:(0,t.jsx)(n.default,{className:(0,i.cn)("block rounded-md py-1.5 text-sm transition-colors",r===e.slug?"bg-neutral-100 font-medium text-neutral-900 dark:bg-neutral-800 dark:text-neutral-100":"text-neutral-600 hover:bg-neutral-50 hover:text-neutral-900 dark:text-neutral-400 dark:hover:bg-neutral-800/50 dark:hover:text-neutral-100"),href:`/docs/${e.slug}`,children:e.title})},e.slug))})}function c(){let e=(0,l.usePathname)().replace("/docs/","")||"overview";return(0,t.jsx)("nav",{className:"space-y-2",children:o.map(r=>(0,t.jsx)(d,{currentSlug:e,section:r},r.title??"docs"))})}var u=e.i(16478),m=e.i(338843),h=e.i(388760);let x=[{name:"How It Works",href:"/#how-it-works"},{name:"Features",href:"/#features"},{name:"Pricing",href:"/#pricing"},{name:"FAQ",href:"/#faq"},{name:"Tools",href:"/tools"},{name:"Blog",href:"/blog"},{name:"Docs",href:"/docs"}
1];function f(){return(0,t.jsx)("header",{className:"bg-background",children:(0,t.jsxs)("nav",{"aria-label":"Global",className:"mx-auto flex max-w-7xl items-center justify-between p-6 lg:px-8",children:[(0,t.jsx)("div",{className:"flex lg:flex-1",children:(0,t.jsx)(n.default,{"aria-label":"Home",className:"-m-1.5 p-1.5",href:"/",children:(0,t.jsx)(h.Logo,{className:"h-8 w-auto"})})}),(0,t.jsx)("div",{className:"flex lg:hidden",children:(0,t.jsx)(m.HeaderMobileMenu,{navigation:x})}),(0,t.jsx)("div",{className:"hidden lg:flex lg:gap-x-12",children:x.map(e=>(0,t.jsx)(n.default,{className:"font-semibold text-foreground text-sm leading-6 hover:text-primary",href:e.href,children:e.name},e.name))}),(0,t.jsxs)("div",{className:"hidden lg:flex lg:flex-1 lg:items-center lg:justify-end lg:gap-x-6",children:[(0,t.jsx)(u.DarkModeToggle,{}),(0,t.jsx)(n.default,{className:"font-semibold text-foreground text-sm leading-6 hover:text-primary",href:"/login",children:"Log in"}),(0,t.jsx)(n.default,{className:"rounded-md bg-primary px-3 py-2 font-semibold text-primary-foreground text-sm shadow-xs hover:bg-primary/90 focus-visible:outline-2 focus-visible:outline-primary focus-visible:outline-offset-2",href:"/login",children:"Get started"})]})]})})}var p=e.i(416968);let g=[{alt:"OctoStream rating on Uneed",darkImageSrc:"https://www.uneed.best/badge/rating/octostream.svg?theme=dark",height:38,href:"https://www.uneed.best/tool/octostream",imageSrc:"https://www.uneed.best/badge/rating/octostream.svg?theme=light",name:"Uneed",width:172}];function v({compact:e=!1}){return(0,t.jsx)("section",{className:e?"pb-6":"pb-8",children:(0,t.jsxs)("div",{className:e?"flex flex-col gap-4 sm:flex-row sm:items-center sm:justify-between":"flex flex-col gap-4",children:[(0,t.jsx)("div",{children:(0,t.jsx)("p",{className:"font-semibold text-sm/6",children:"Featured in"})}),(0,t.jsx)("div",{className:"flex flex-wrap items-center gap-3",children:g.map(e=>(0,t.jsx)("a",{href:e.href,rel:"noopener noreferrer",target:"_blank",children:e.darkImageSrc?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(p.default,{alt:e.alt,className:"h-11 w-auto rounded-sm transition-opacity hover:opacity-90 dark:hidden",height:e.height,src:e.imageSrc,unoptimized:!0,width:e.width}),(0,t.jsx)(p.default,{alt:e.alt,className:"hidden h-11 w-auto rounded-sm transition-opacity hover:opacity-90 dark:block",height:e.height,src:e.darkImageSrc,unoptimized:!0,width:e.width})]}):(0,t.jsx)(p.default,{alt:e.alt,className:"h-11 w-auto rounded-sm transition-opacity hover:opacity-90",height:e.height,src:e.imageSrc,unoptimized:!0,width:e.width})},e.name))})]})})}let b=[{description:"Private local AI chat for macOS that runs on your own device.",faviconDomain:"localchat.app",href:"https://www.localchat.app",name:"LocalChat"}];function w({compact:e=!1}){return(0,t.jsx)("section",{className:e?"pb-6":"pb-8",children:(0,t.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,t.jsx)("div",{children:(0,t.jsx)("p",{className:"font-semibold text-sm/6",children:"From our friends"})}),(0,t.jsx)("div",{className:e?"grid gap-3":"grid gap-3 md:grid-cols-2 xl:grid-cols-3",children:b.map(e=>(0,t.jsxs)(n.default,{className:"group rounded-2xl border border-border/70 bg-background/60 px-4 py-3 transition-colors hover:border-border hover:bg-muted/40",href:e.href,rel:"noopener noreferrer",target:"_blank",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)(p.default,{alt:"","aria-hidden":"true",className:"rounded-sm",height:16,src:`https://www.google.com/s2/favicons?sz=32&domain_url=${e.faviconDomain}`,width:16}),(0,t.jsx)("p",{className:"font-medium text-sm transition-colors group-hover:text-primary",children:e.name})]}),(0,t.jsx)("p",{className:"mt-1 text-muted-foreground text-sm/6",children:e.description})]},e.name))})]})})}function j({showNetworkSections:e=!0}){return(0,t.jsx)("footer",{className:"border-neutral-200 border-t dark:border-neutral-800",children:(0,t.jsxs)("div",{className:"mx-auto max-w-7xl px-6 py-6 lg:px-8",children:[e?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(v,{compact:!0}),(0,t.jsx)(w,{compact:!0})]}):null,(0,t.jsx)("div",{className:"border-neutral-200 border-t pt-6 dark:border-neutral-800",children:(0,t.jsxs)("div",{className:"flex items-center justify-between",children:[(0,t.jsxs)("p",{className:"text-neutral-600 text-sm dark:text-neutral-400",children:["© ",new Date().getFullYear()," ",(0,t.jsx)(n.default,{className:"hover:underline",href:"/",children:"Octostream.com"})]}
1),(0,t.jsx)(u.DarkModeToggle,{})]})})]})})}function k({children:e}){let[n,l]=(0,s.useState)(!1);return(0,t.jsxs)("div",{className:"mx-auto flex min-h-screen max-w-7xl flex-col",children:[(0,t.jsx)(f,{}),(0,t.jsx)("div",{className:"mx-auto w-full max-w-7xl flex-1 px-4 sm:px-6 lg:px-8",children:(0,t.jsxs)("div",{className:"flex min-h-[calc(100vh-160px)]",children:[(0,t.jsxs)("button",{className:"fixed right-4 bottom-4 z-50 rounded-full bg-neutral-900 p-3 text-white shadow-lg lg:hidden dark:bg-neutral-100 dark:text-neutral-900",onClick:()=>l(!0),type:"button",children:[(0,t.jsx)(r.Bars3Icon,{className:"h-6 w-6"}),(0,t.jsx)("span",{className:"sr-only",children:"Open navigation"})]}),n?(0,t.jsxs)("div",{className:"fixed inset-0 z-50 lg:hidden",children:[(0,t.jsx)("button",{"aria-label":"Close navigation",className:"fixed inset-0 bg-black/50",onClick:()=>l(!1),type:"button"}),(0,t.jsxs)("div",{className:"fixed inset-y-0 left-0 w-72 overflow-y-auto bg-white p-6 dark:bg-neutral-900",children:[(0,t.jsxs)("div",{className:"mb-6 flex items-center justify-between",children:[(0,t.jsx)("span",{className:"font-semibold text-lg",children:"Documentation"}),(0,t.jsxs)("button",{className:"rounded-md p-1 hover:bg-neutral-100 dark:hover:bg-neutral-800",onClick:()=>l(!1),type:"button",children:[(0,t.jsx)(a.XMarkIcon,{className:"h-6 w-6"}),(0,t.jsx)("span",{className:"sr-only",children:"Close navigation"})]})]}),(0,t.jsx)(c,{})]})]}):null,(0,t.jsx)("aside",{className:"sticky top-20 hidden h-[calc(100vh-80px)] w-64 flex-shrink-0 overflow-y-auto border-neutral-200 border-r py-8 pr-6 lg:block dark:border-neutral-800",children:(0,t.jsx)(c,{})}),(0,t.jsx)("main",{className:"flex-1 py-8 lg:pl-8",children:e})]})}),(0,t.jsx)(j,{})]})}e.s(["default",()=>k],503661)}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.