diff --git a/404.html b/404.html index efb8ffc4a..16db90554 100644 --- a/404.html +++ b/404.html @@ -4,7 +4,7 @@ Page Not Found | Live Compositor - + diff --git a/assets/js/d81783d9.d0849ae2.js b/assets/js/d81783d9.d0849ae2.js deleted file mode 100644 index a5a509fc4..000000000 --- a/assets/js/d81783d9.d0849ae2.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkcompositor_live=self.webpackChunkcompositor_live||[]).push([[1015,2692],{4011:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>c,contentTitle:()=>o,default:()=>p,frontMatter:()=>s,metadata:()=>d,toc:()=>l});var r=t(5893),i=t(1151);const s={},o=void 0,d={id:"api/generated/renderer-RtpInputStream",title:"renderer-RtpInputStream",description:"RtpInputStream",source:"@site/pages/api/generated/renderer-RtpInputStream.md",sourceDirName:"api/generated",slug:"/api/generated/renderer-RtpInputStream",permalink:"/docs/api/generated/renderer-RtpInputStream",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{}},c={},l=[{value:"RtpInputStream",id:"rtpinputstream",level:2},{value:"Properties",id:"properties",level:4},{value:"Port",id:"port",level:2},{value:"InputRtpVideoOptions",id:"inputrtpvideooptions",level:2},{value:"Properties",id:"properties-1",level:4},{value:"InputRtpAudioOptions",id:"inputrtpaudiooptions",level:2},{value:"Properties",id:"properties-2",level:4}];function a(e){const n={a:"a",code:"code",h2:"h2",h4:"h4",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...(0,i.a)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n.h2,{id:"rtpinputstream",children:"RtpInputStream"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-typescript",children:'type RtpInputStream = {\n input_id: string;\n port: Port;\n transport_protocol?: "udp" | "tcp_server";\n video?: InputRtpVideoOptions;\n audio?: InputRtpAudioOptions;\n required?: bool;\n offset_ms?: f64;\n}\n'})}),"\n",(0,r.jsxs)(n.p,{children:["Parameters for an input stream from RTP source. At least one of ",(0,r.jsx)(n.code,{children:"video"})," and ",(0,r.jsx)(n.code,{children:"audio"})," has to be defined."]}),"\n",(0,r.jsx)(n.h4,{id:"properties",children:"Properties"}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.code,{children:"input_id"})," - An identifier for the input stream."]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.code,{children:"port"})," - UDP port or port range on which the compositor should listen for the stream."]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.code,{children:"transport_protocol"})," - Transport protocol.","\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.code,{children:'"udp"'})," - UDP protocol."]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.code,{children:'"tcp_server"'})," - TCP protocol where LiveCompositor is the server side of the connection."]}),"\n"]}),"\n"]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.code,{children:"video"})," - Parameters of a video source included in the RTP stream."]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.code,{children:"audio"})," - Parameters of an audio source included in the RTP stream."]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.code,{children:"required"})," - (",(0,r.jsxs)(n.strong,{children:["default=",(0,r.jsx)(n.code,{children:"false"})]}),") If input is required and the stream is not delivered on time, then LiveCompositor will delay producing output frames."]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.code,{children:"offset_ms"})," - Offset in milliseconds relative to the pipeline start (start request). If the offset is not defined then the stream will be synchronized based on the delivery time of the initial frames."]}),"\n"]}),"\n",(0,r.jsx)(n.h2,{id:"port",children:"Port"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-typescript",children:"type Port = string | u16\n"})}),"\n",(0,r.jsx)(n.h2,{id:"inputrtpvideooptions",children:"InputRtpVideoOptions"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-typescript",children:'type InputRtpVideoOptions = {\n codec?: "h264";\n rtp_payload_type?: u8;\n}\n'})}),"\n",(0,r.jsx)(n.h4,{id:"properties-1",children:"Properties"}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.code,{children:"codec"})," - (",(0,r.jsxs)(n.strong,{children:["default=",(0,r.jsx)(n.code,{children:'"h264"'})]}),") Video codec.","\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.code,{children:'"h264"'})," - H264 video."]}),"\n"]}),"\n"]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.code,{children:"rtp_payload_type"})," - (",(0,r.jsxs)(n.strong,{children:["default=",(0,r.jsx)(n.code,{children:"96"})]}),") Value of payload type field in received RTP packets.\nPackets with different payload type won't be treated as video and included in composing. Values should be in [0, 64] or [96, 255]. Values in range [65, 95] can't be used. For more information, see ",(0,r.jsx)(n.a,{href:"https://datatracker.ietf.org/doc/html/rfc5761#section-4",children:"RFC"})," Packets with different payload type won't be treated as video and included in composing."]}),"\n"]}),"\n",(0,r.jsx)(n.h2,{id:"inputrtpaudiooptions",children:"InputRtpAudioOptions"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-typescript",children:'type InputRtpAudioOptions = {\n codec?: "opus";\n sample_rate: u32;\n channels: "mono" | "stereo";\n rtp_payload_type?: u8;\n forward_error_correction?: bool;\n}\n'})}),"\n",(0,r.jsx)(n.h4,{id:"properties-2",children:"Properties"}),"\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.code,{children:"codec"})," - (",(0,r.jsxs)(n.strong,{children:["default=",(0,r.jsx)(n.code,{children:'"opus"'})]}),") Audio codec.","\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.code,{children:'"opus"'})," - Opus audio."]}),"\n"]}),"\n"]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.code,{children:"sample_rate"})," - Sample rate. If the specified sample rate doesn't match real sample rate, audio won't be mixed properly."]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.code,{children:"channels"})," - Audio channels.","\n",(0,r.jsxs)(n.ul,{children:["\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.code,{children:'"mono"'})," - Mono audio (single channel)."]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.code,{children:'"stereo"'})," - Stereo audio (two channels)."]}),"\n"]}),"\n"]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.code,{children:"rtp_payload_type"})," - (",(0,r.jsxs)(n.strong,{children:["default=",(0,r.jsx)(n.code,{children:"97"})]}),") Value of payload type field in received RTP packets.\nPackets with different payload type won't be treated as audio and included in mixing. Values should be in range [0, 64] or [96, 255]. Values in range [65, 95] can't be used. For more information, check out ",(0,r.jsx)(n.a,{href:"https://datatracker.ietf.org/doc/html/rfc5761#section-4",children:"RFC"}),"."]}),"\n",(0,r.jsxs)(n.li,{children:[(0,r.jsx)(n.code,{children:"forward_error_correction"})," - (",(0,r.jsxs)(n.strong,{children:["default=",(0,r.jsx)(n.code,{children:"false"})]}),") Specifies whether the stream uses forward error correction. It's specific for Opus codec. For more information, check out ",(0,r.jsx)(n.a,{href:"https://datatracker.ietf.org/doc/html/rfc6716#section-2.1.7",children:"RFC"}),"."]}),"\n"]})]})}function p(e={}){const{wrapper:n}={...(0,i.a)(),...e.components};return n?(0,r.jsx)(n,{...e,children:(0,r.jsx)(a,{...e})}):a(e)}},408:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>l,contentTitle:()=>d,default:()=>h,frontMatter:()=>o,metadata:()=>c,toc:()=>a});var r=t(5893),i=t(1151),s=t(4011);const o={},d="RTP",c={id:"api/inputs/rtp",title:"RTP",description:"An input type that allows streaming video and audio to the compositor over RTP.",source:"@site/pages/api/inputs/rtp.md",sourceDirName:"api/inputs",slug:"/api/inputs/rtp",permalink:"/docs/api/inputs/rtp",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"sidebar",previous:{title:"Web Renderer",permalink:"/docs/api/renderers/web"},next:{title:"MP4",permalink:"/docs/api/inputs/mp4"}},l={},a=[];function p(e){const n={h1:"h1",p:"p",...(0,i.a)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n.h1,{id:"rtp",children:"RTP"}),"\n",(0,r.jsx)(n.p,{children:"An input type that allows streaming video and audio to the compositor over RTP."}),"\n",(0,r.jsx)(s.default,{})]})}function h(e={}){const{wrapper:n}={...(0,i.a)(),...e.components};return n?(0,r.jsx)(n,{...e,children:(0,r.jsx)(p,{...e})}):p(e)}},1151:(e,n,t)=>{t.d(n,{Z:()=>d,a:()=>o});var r=t(7294);const i={},s=r.createContext(i);function o(e){const n=r.useContext(s);return r.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function d(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:o(e.components),r.createElement(s.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/d81783d9.f39c902d.js b/assets/js/d81783d9.f39c902d.js new file mode 100644 index 000000000..78c497dca --- /dev/null +++ b/assets/js/d81783d9.f39c902d.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkcompositor_live=self.webpackChunkcompositor_live||[]).push([[1015,2692],{4011:(e,t,r)=>{r.r(t),r.d(t,{assets:()=>c,contentTitle:()=>o,default:()=>a,frontMatter:()=>s,metadata:()=>d,toc:()=>p});var n=r(5893),i=r(1151);const s={},o=void 0,d={id:"api/generated/renderer-RtpInputStream",title:"renderer-RtpInputStream",description:"RtpInputStream",source:"@site/pages/api/generated/renderer-RtpInputStream.md",sourceDirName:"api/generated",slug:"/api/generated/renderer-RtpInputStream",permalink:"/docs/api/generated/renderer-RtpInputStream",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{}},c={},p=[{value:"RtpInputStream",id:"rtpinputstream",level:2},{value:"Properties",id:"properties",level:4},{value:"Port",id:"port",level:2},{value:"InputRtpVideoOptions",id:"inputrtpvideooptions",level:2},{value:"Properties",id:"properties-1",level:4},{value:"InputRtpAudioOptions",id:"inputrtpaudiooptions",level:2},{value:"Properties",id:"properties-2",level:4}];function l(e){const t={a:"a",code:"code",h2:"h2",h4:"h4",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...(0,i.a)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(t.h2,{id:"rtpinputstream",children:"RtpInputStream"}),"\n",(0,n.jsx)(t.pre,{children:(0,n.jsx)(t.code,{className:"language-typescript",children:'type RtpInputStream = {\n input_id: string;\n port: Port;\n transport_protocol?: "udp" | "tcp_server";\n video?: InputRtpVideoOptions;\n audio?: InputRtpAudioOptions;\n required?: bool;\n offset_ms?: f64;\n}\n'})}),"\n",(0,n.jsxs)(t.p,{children:["Parameters for an input stream from RTP source. At least one of ",(0,n.jsx)(t.code,{children:"video"})," and ",(0,n.jsx)(t.code,{children:"audio"})," has to be defined."]}),"\n",(0,n.jsx)(t.h4,{id:"properties",children:"Properties"}),"\n",(0,n.jsxs)(t.ul,{children:["\n",(0,n.jsxs)(t.li,{children:[(0,n.jsx)(t.code,{children:"input_id"})," - An identifier for the input stream."]}),"\n",(0,n.jsxs)(t.li,{children:[(0,n.jsx)(t.code,{children:"port"})," - UDP port or port range on which the compositor should listen for the stream."]}),"\n",(0,n.jsxs)(t.li,{children:[(0,n.jsx)(t.code,{children:"transport_protocol"})," - Transport protocol.","\n",(0,n.jsxs)(t.ul,{children:["\n",(0,n.jsxs)(t.li,{children:[(0,n.jsx)(t.code,{children:'"udp"'})," - UDP protocol."]}),"\n",(0,n.jsxs)(t.li,{children:[(0,n.jsx)(t.code,{children:'"tcp_server"'})," - TCP protocol where LiveCompositor is the server side of the connection."]}),"\n"]}),"\n"]}),"\n",(0,n.jsxs)(t.li,{children:[(0,n.jsx)(t.code,{children:"video"})," - Parameters of a video source included in the RTP stream."]}),"\n",(0,n.jsxs)(t.li,{children:[(0,n.jsx)(t.code,{children:"audio"})," - Parameters of an audio source included in the RTP stream."]}),"\n",(0,n.jsxs)(t.li,{children:[(0,n.jsx)(t.code,{children:"required"})," - (",(0,n.jsxs)(t.strong,{children:["default=",(0,n.jsx)(t.code,{children:"false"})]}),") If input is required and the stream is not delivered on time, then LiveCompositor will delay producing output frames."]}),"\n",(0,n.jsxs)(t.li,{children:[(0,n.jsx)(t.code,{children:"offset_ms"})," - Offset in milliseconds relative to the pipeline start (start request). If the offset is not defined then the stream will be synchronized based on the delivery time of the initial frames."]}),"\n"]}),"\n",(0,n.jsx)(t.h2,{id:"port",children:"Port"}),"\n",(0,n.jsx)(t.pre,{children:(0,n.jsx)(t.code,{className:"language-typescript",children:"type Port = string | u16\n"})}),"\n",(0,n.jsx)(t.h2,{id:"inputrtpvideooptions",children:"InputRtpVideoOptions"}),"\n",(0,n.jsx)(t.pre,{children:(0,n.jsx)(t.code,{className:"language-typescript",children:'type InputRtpVideoOptions = {\n codec?: "h264";\n}\n'})}),"\n",(0,n.jsx)(t.h4,{id:"properties-1",children:"Properties"}),"\n",(0,n.jsxs)(t.ul,{children:["\n",(0,n.jsxs)(t.li,{children:[(0,n.jsx)(t.code,{children:"codec"})," - (",(0,n.jsxs)(t.strong,{children:["default=",(0,n.jsx)(t.code,{children:'"h264"'})]}),") Video codec.","\n",(0,n.jsxs)(t.ul,{children:["\n",(0,n.jsxs)(t.li,{children:[(0,n.jsx)(t.code,{children:'"h264"'})," - H264 video."]}),"\n"]}),"\n"]}),"\n"]}),"\n",(0,n.jsx)(t.h2,{id:"inputrtpaudiooptions",children:"InputRtpAudioOptions"}),"\n",(0,n.jsx)(t.pre,{children:(0,n.jsx)(t.code,{className:"language-typescript",children:'type InputRtpAudioOptions = {\n codec?: "opus";\n forward_error_correction?: bool;\n}\n'})}),"\n",(0,n.jsx)(t.h4,{id:"properties-2",children:"Properties"}),"\n",(0,n.jsxs)(t.ul,{children:["\n",(0,n.jsxs)(t.li,{children:[(0,n.jsx)(t.code,{children:"codec"})," - (",(0,n.jsxs)(t.strong,{children:["default=",(0,n.jsx)(t.code,{children:'"opus"'})]}),") Audio codec.","\n",(0,n.jsxs)(t.ul,{children:["\n",(0,n.jsxs)(t.li,{children:[(0,n.jsx)(t.code,{children:'"opus"'})," - Opus audio."]}),"\n"]}),"\n"]}),"\n",(0,n.jsxs)(t.li,{children:[(0,n.jsx)(t.code,{children:"forward_error_correction"})," - (",(0,n.jsxs)(t.strong,{children:["default=",(0,n.jsx)(t.code,{children:"false"})]}),") Specifies whether the stream uses forward error correction. It's specific for Opus codec. For more information, check out ",(0,n.jsx)(t.a,{href:"https://datatracker.ietf.org/doc/html/rfc6716#section-2.1.7",children:"RFC"}),"."]}),"\n"]})]})}function a(e={}){const{wrapper:t}={...(0,i.a)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(l,{...e})}):l(e)}},408:(e,t,r)=>{r.r(t),r.d(t,{assets:()=>p,contentTitle:()=>d,default:()=>u,frontMatter:()=>o,metadata:()=>c,toc:()=>l});var n=r(5893),i=r(1151),s=r(4011);const o={},d="RTP",c={id:"api/inputs/rtp",title:"RTP",description:"An input type that allows streaming video and audio to the compositor over RTP.",source:"@site/pages/api/inputs/rtp.md",sourceDirName:"api/inputs",slug:"/api/inputs/rtp",permalink:"/docs/api/inputs/rtp",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{},sidebar:"sidebar",previous:{title:"Web Renderer",permalink:"/docs/api/renderers/web"},next:{title:"MP4",permalink:"/docs/api/inputs/mp4"}},p={},l=[];function a(e){const t={h1:"h1",p:"p",...(0,i.a)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(t.h1,{id:"rtp",children:"RTP"}),"\n",(0,n.jsx)(t.p,{children:"An input type that allows streaming video and audio to the compositor over RTP."}),"\n",(0,n.jsx)(s.default,{})]})}function u(e={}){const{wrapper:t}={...(0,i.a)(),...e.components};return t?(0,n.jsx)(t,{...e,children:(0,n.jsx)(a,{...e})}):a(e)}},1151:(e,t,r)=>{r.d(t,{Z:()=>d,a:()=>o});var n=r(7294);const i={},s=n.createContext(i);function o(e){const t=n.useContext(s);return n.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function d(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:o(e.components),n.createElement(s.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/f94d6d54.bdcce8a2.js b/assets/js/f94d6d54.bdcce8a2.js deleted file mode 100644 index 20630f10c..000000000 --- a/assets/js/f94d6d54.bdcce8a2.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkcompositor_live=self.webpackChunkcompositor_live||[]).push([[2692],{4011:(e,n,r)=>{r.r(n),r.d(n,{assets:()=>c,contentTitle:()=>s,default:()=>p,frontMatter:()=>o,metadata:()=>d,toc:()=>l});var t=r(5893),i=r(1151);const o={},s=void 0,d={id:"api/generated/renderer-RtpInputStream",title:"renderer-RtpInputStream",description:"RtpInputStream",source:"@site/pages/api/generated/renderer-RtpInputStream.md",sourceDirName:"api/generated",slug:"/api/generated/renderer-RtpInputStream",permalink:"/docs/api/generated/renderer-RtpInputStream",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{}},c={},l=[{value:"RtpInputStream",id:"rtpinputstream",level:2},{value:"Properties",id:"properties",level:4},{value:"Port",id:"port",level:2},{value:"InputRtpVideoOptions",id:"inputrtpvideooptions",level:2},{value:"Properties",id:"properties-1",level:4},{value:"InputRtpAudioOptions",id:"inputrtpaudiooptions",level:2},{value:"Properties",id:"properties-2",level:4}];function a(e){const n={a:"a",code:"code",h2:"h2",h4:"h4",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...(0,i.a)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.h2,{id:"rtpinputstream",children:"RtpInputStream"}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-typescript",children:'type RtpInputStream = {\n input_id: string;\n port: Port;\n transport_protocol?: "udp" | "tcp_server";\n video?: InputRtpVideoOptions;\n audio?: InputRtpAudioOptions;\n required?: bool;\n offset_ms?: f64;\n}\n'})}),"\n",(0,t.jsxs)(n.p,{children:["Parameters for an input stream from RTP source. At least one of ",(0,t.jsx)(n.code,{children:"video"})," and ",(0,t.jsx)(n.code,{children:"audio"})," has to be defined."]}),"\n",(0,t.jsx)(n.h4,{id:"properties",children:"Properties"}),"\n",(0,t.jsxs)(n.ul,{children:["\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.code,{children:"input_id"})," - An identifier for the input stream."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.code,{children:"port"})," - UDP port or port range on which the compositor should listen for the stream."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.code,{children:"transport_protocol"})," - Transport protocol.","\n",(0,t.jsxs)(n.ul,{children:["\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.code,{children:'"udp"'})," - UDP protocol."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.code,{children:'"tcp_server"'})," - TCP protocol where LiveCompositor is the server side of the connection."]}),"\n"]}),"\n"]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.code,{children:"video"})," - Parameters of a video source included in the RTP stream."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.code,{children:"audio"})," - Parameters of an audio source included in the RTP stream."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.code,{children:"required"})," - (",(0,t.jsxs)(n.strong,{children:["default=",(0,t.jsx)(n.code,{children:"false"})]}),") If input is required and the stream is not delivered on time, then LiveCompositor will delay producing output frames."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.code,{children:"offset_ms"})," - Offset in milliseconds relative to the pipeline start (start request). If the offset is not defined then the stream will be synchronized based on the delivery time of the initial frames."]}),"\n"]}),"\n",(0,t.jsx)(n.h2,{id:"port",children:"Port"}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-typescript",children:"type Port = string | u16\n"})}),"\n",(0,t.jsx)(n.h2,{id:"inputrtpvideooptions",children:"InputRtpVideoOptions"}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-typescript",children:'type InputRtpVideoOptions = {\n codec?: "h264";\n rtp_payload_type?: u8;\n}\n'})}),"\n",(0,t.jsx)(n.h4,{id:"properties-1",children:"Properties"}),"\n",(0,t.jsxs)(n.ul,{children:["\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.code,{children:"codec"})," - (",(0,t.jsxs)(n.strong,{children:["default=",(0,t.jsx)(n.code,{children:'"h264"'})]}),") Video codec.","\n",(0,t.jsxs)(n.ul,{children:["\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.code,{children:'"h264"'})," - H264 video."]}),"\n"]}),"\n"]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.code,{children:"rtp_payload_type"})," - (",(0,t.jsxs)(n.strong,{children:["default=",(0,t.jsx)(n.code,{children:"96"})]}),") Value of payload type field in received RTP packets.\nPackets with different payload type won't be treated as video and included in composing. Values should be in [0, 64] or [96, 255]. Values in range [65, 95] can't be used. For more information, see ",(0,t.jsx)(n.a,{href:"https://datatracker.ietf.org/doc/html/rfc5761#section-4",children:"RFC"})," Packets with different payload type won't be treated as video and included in composing."]}),"\n"]}),"\n",(0,t.jsx)(n.h2,{id:"inputrtpaudiooptions",children:"InputRtpAudioOptions"}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-typescript",children:'type InputRtpAudioOptions = {\n codec?: "opus";\n sample_rate: u32;\n channels: "mono" | "stereo";\n rtp_payload_type?: u8;\n forward_error_correction?: bool;\n}\n'})}),"\n",(0,t.jsx)(n.h4,{id:"properties-2",children:"Properties"}),"\n",(0,t.jsxs)(n.ul,{children:["\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.code,{children:"codec"})," - (",(0,t.jsxs)(n.strong,{children:["default=",(0,t.jsx)(n.code,{children:'"opus"'})]}),") Audio codec.","\n",(0,t.jsxs)(n.ul,{children:["\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.code,{children:'"opus"'})," - Opus audio."]}),"\n"]}),"\n"]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.code,{children:"sample_rate"})," - Sample rate. If the specified sample rate doesn't match real sample rate, audio won't be mixed properly."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.code,{children:"channels"})," - Audio channels.","\n",(0,t.jsxs)(n.ul,{children:["\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.code,{children:'"mono"'})," - Mono audio (single channel)."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.code,{children:'"stereo"'})," - Stereo audio (two channels)."]}),"\n"]}),"\n"]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.code,{children:"rtp_payload_type"})," - (",(0,t.jsxs)(n.strong,{children:["default=",(0,t.jsx)(n.code,{children:"97"})]}),") Value of payload type field in received RTP packets.\nPackets with different payload type won't be treated as audio and included in mixing. Values should be in range [0, 64] or [96, 255]. Values in range [65, 95] can't be used. For more information, check out ",(0,t.jsx)(n.a,{href:"https://datatracker.ietf.org/doc/html/rfc5761#section-4",children:"RFC"}),"."]}),"\n",(0,t.jsxs)(n.li,{children:[(0,t.jsx)(n.code,{children:"forward_error_correction"})," - (",(0,t.jsxs)(n.strong,{children:["default=",(0,t.jsx)(n.code,{children:"false"})]}),") Specifies whether the stream uses forward error correction. It's specific for Opus codec. For more information, check out ",(0,t.jsx)(n.a,{href:"https://datatracker.ietf.org/doc/html/rfc6716#section-2.1.7",children:"RFC"}),"."]}),"\n"]})]})}function p(e={}){const{wrapper:n}={...(0,i.a)(),...e.components};return n?(0,t.jsx)(n,{...e,children:(0,t.jsx)(a,{...e})}):a(e)}},1151:(e,n,r)=>{r.d(n,{Z:()=>d,a:()=>s});var t=r(7294);const i={},o=t.createContext(i);function s(e){const n=t.useContext(o);return t.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function d(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:s(e.components),t.createElement(o.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/f94d6d54.d41e6c23.js b/assets/js/f94d6d54.d41e6c23.js new file mode 100644 index 000000000..8c796dd98 --- /dev/null +++ b/assets/js/f94d6d54.d41e6c23.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkcompositor_live=self.webpackChunkcompositor_live||[]).push([[2692],{4011:(e,r,n)=>{n.r(r),n.d(r,{assets:()=>c,contentTitle:()=>s,default:()=>a,frontMatter:()=>o,metadata:()=>d,toc:()=>l});var t=n(5893),i=n(1151);const o={},s=void 0,d={id:"api/generated/renderer-RtpInputStream",title:"renderer-RtpInputStream",description:"RtpInputStream",source:"@site/pages/api/generated/renderer-RtpInputStream.md",sourceDirName:"api/generated",slug:"/api/generated/renderer-RtpInputStream",permalink:"/docs/api/generated/renderer-RtpInputStream",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{}},c={},l=[{value:"RtpInputStream",id:"rtpinputstream",level:2},{value:"Properties",id:"properties",level:4},{value:"Port",id:"port",level:2},{value:"InputRtpVideoOptions",id:"inputrtpvideooptions",level:2},{value:"Properties",id:"properties-1",level:4},{value:"InputRtpAudioOptions",id:"inputrtpaudiooptions",level:2},{value:"Properties",id:"properties-2",level:4}];function p(e){const r={a:"a",code:"code",h2:"h2",h4:"h4",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...(0,i.a)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(r.h2,{id:"rtpinputstream",children:"RtpInputStream"}),"\n",(0,t.jsx)(r.pre,{children:(0,t.jsx)(r.code,{className:"language-typescript",children:'type RtpInputStream = {\n input_id: string;\n port: Port;\n transport_protocol?: "udp" | "tcp_server";\n video?: InputRtpVideoOptions;\n audio?: InputRtpAudioOptions;\n required?: bool;\n offset_ms?: f64;\n}\n'})}),"\n",(0,t.jsxs)(r.p,{children:["Parameters for an input stream from RTP source. At least one of ",(0,t.jsx)(r.code,{children:"video"})," and ",(0,t.jsx)(r.code,{children:"audio"})," has to be defined."]}),"\n",(0,t.jsx)(r.h4,{id:"properties",children:"Properties"}),"\n",(0,t.jsxs)(r.ul,{children:["\n",(0,t.jsxs)(r.li,{children:[(0,t.jsx)(r.code,{children:"input_id"})," - An identifier for the input stream."]}),"\n",(0,t.jsxs)(r.li,{children:[(0,t.jsx)(r.code,{children:"port"})," - UDP port or port range on which the compositor should listen for the stream."]}),"\n",(0,t.jsxs)(r.li,{children:[(0,t.jsx)(r.code,{children:"transport_protocol"})," - Transport protocol.","\n",(0,t.jsxs)(r.ul,{children:["\n",(0,t.jsxs)(r.li,{children:[(0,t.jsx)(r.code,{children:'"udp"'})," - UDP protocol."]}),"\n",(0,t.jsxs)(r.li,{children:[(0,t.jsx)(r.code,{children:'"tcp_server"'})," - TCP protocol where LiveCompositor is the server side of the connection."]}),"\n"]}),"\n"]}),"\n",(0,t.jsxs)(r.li,{children:[(0,t.jsx)(r.code,{children:"video"})," - Parameters of a video source included in the RTP stream."]}),"\n",(0,t.jsxs)(r.li,{children:[(0,t.jsx)(r.code,{children:"audio"})," - Parameters of an audio source included in the RTP stream."]}),"\n",(0,t.jsxs)(r.li,{children:[(0,t.jsx)(r.code,{children:"required"})," - (",(0,t.jsxs)(r.strong,{children:["default=",(0,t.jsx)(r.code,{children:"false"})]}),") If input is required and the stream is not delivered on time, then LiveCompositor will delay producing output frames."]}),"\n",(0,t.jsxs)(r.li,{children:[(0,t.jsx)(r.code,{children:"offset_ms"})," - Offset in milliseconds relative to the pipeline start (start request). If the offset is not defined then the stream will be synchronized based on the delivery time of the initial frames."]}),"\n"]}),"\n",(0,t.jsx)(r.h2,{id:"port",children:"Port"}),"\n",(0,t.jsx)(r.pre,{children:(0,t.jsx)(r.code,{className:"language-typescript",children:"type Port = string | u16\n"})}),"\n",(0,t.jsx)(r.h2,{id:"inputrtpvideooptions",children:"InputRtpVideoOptions"}),"\n",(0,t.jsx)(r.pre,{children:(0,t.jsx)(r.code,{className:"language-typescript",children:'type InputRtpVideoOptions = {\n codec?: "h264";\n}\n'})}),"\n",(0,t.jsx)(r.h4,{id:"properties-1",children:"Properties"}),"\n",(0,t.jsxs)(r.ul,{children:["\n",(0,t.jsxs)(r.li,{children:[(0,t.jsx)(r.code,{children:"codec"})," - (",(0,t.jsxs)(r.strong,{children:["default=",(0,t.jsx)(r.code,{children:'"h264"'})]}),") Video codec.","\n",(0,t.jsxs)(r.ul,{children:["\n",(0,t.jsxs)(r.li,{children:[(0,t.jsx)(r.code,{children:'"h264"'})," - H264 video."]}),"\n"]}),"\n"]}),"\n"]}),"\n",(0,t.jsx)(r.h2,{id:"inputrtpaudiooptions",children:"InputRtpAudioOptions"}),"\n",(0,t.jsx)(r.pre,{children:(0,t.jsx)(r.code,{className:"language-typescript",children:'type InputRtpAudioOptions = {\n codec?: "opus";\n forward_error_correction?: bool;\n}\n'})}),"\n",(0,t.jsx)(r.h4,{id:"properties-2",children:"Properties"}),"\n",(0,t.jsxs)(r.ul,{children:["\n",(0,t.jsxs)(r.li,{children:[(0,t.jsx)(r.code,{children:"codec"})," - (",(0,t.jsxs)(r.strong,{children:["default=",(0,t.jsx)(r.code,{children:'"opus"'})]}),") Audio codec.","\n",(0,t.jsxs)(r.ul,{children:["\n",(0,t.jsxs)(r.li,{children:[(0,t.jsx)(r.code,{children:'"opus"'})," - Opus audio."]}),"\n"]}),"\n"]}),"\n",(0,t.jsxs)(r.li,{children:[(0,t.jsx)(r.code,{children:"forward_error_correction"})," - (",(0,t.jsxs)(r.strong,{children:["default=",(0,t.jsx)(r.code,{children:"false"})]}),") Specifies whether the stream uses forward error correction. It's specific for Opus codec. For more information, check out ",(0,t.jsx)(r.a,{href:"https://datatracker.ietf.org/doc/html/rfc6716#section-2.1.7",children:"RFC"}),"."]}),"\n"]})]})}function a(e={}){const{wrapper:r}={...(0,i.a)(),...e.components};return r?(0,t.jsx)(r,{...e,children:(0,t.jsx)(p,{...e})}):p(e)}},1151:(e,r,n)=>{n.d(r,{Z:()=>d,a:()=>s});var t=n(7294);const i={},o=t.createContext(i);function s(e){const r=t.useContext(o);return t.useMemo((function(){return"function"==typeof e?e(r):{...r,...e}}),[r,e])}function d(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:s(e.components),t.createElement(o.Provider,{value:r},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/runtime~main.c90f8725.js b/assets/js/runtime~main.ce8c23e5.js similarity index 97% rename from assets/js/runtime~main.c90f8725.js rename to assets/js/runtime~main.ce8c23e5.js index 3ea431523..41af7aa3a 100644 --- a/assets/js/runtime~main.c90f8725.js +++ b/assets/js/runtime~main.ce8c23e5.js @@ -1 +1 @@ -(()=>{"use strict";var e,a,t,r,f,c={},d={};function o(e){var a=d[e];if(void 0!==a)return a.exports;var t=d[e]={exports:{}};return c[e].call(t.exports,t,t.exports,o),t.exports}o.m=c,e=[],o.O=(a,t,r,f)=>{if(!t){var c=1/0;for(i=0;i=f)&&Object.keys(o.O).every((e=>o.O[e](t[b])))?t.splice(b--,1):(d=!1,f0&&e[i-1][2]>f;i--)e[i]=e[i-1];e[i]=[t,r,f]},o.n=e=>{var a=e&&e.__esModule?()=>e.default:()=>e;return o.d(a,{a:a}),a},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,o.t=function(e,r){if(1&r&&(e=this(e)),8&r)return e;if("object"==typeof e&&e){if(4&r&&e.__esModule)return e;if(16&r&&"function"==typeof e.then)return e}var f=Object.create(null);o.r(f);var c={};a=a||[null,t({}),t([]),t(t)];for(var d=2&r&&e;"object"==typeof d&&!~a.indexOf(d);d=t(d))Object.getOwnPropertyNames(d).forEach((a=>c[a]=()=>e[a]));return c.default=()=>e,o.d(f,c),f},o.d=(e,a)=>{for(var t in a)o.o(a,t)&&!o.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:a[t]})},o.f={},o.e=e=>Promise.all(Object.keys(o.f).reduce(((a,t)=>(o.f[t](e,a),a)),[])),o.u=e=>"assets/js/"+({2:"4e76d5b1",53:"935f2afb",222:"583850f4",580:"19a7aa20",821:"5732f308",1015:"d81783d9",1252:"914825a2",1342:"9641c2a9",1361:"be91778b",1538:"14eaa339",1724:"cd44186e",1778:"15cc4295",1792:"f3168f4a",2402:"42b33983",2676:"896f0ba9",2692:"f94d6d54",3237:"1df93b7f",3268:"7ef038ae",4368:"a94703ab",4771:"fca0959c",4775:"d5b534ab",5195:"b360e2f2",5874:"fab95674",6279:"c2904cbc",6439:"dcfd3d15",7140:"03d586bf",7180:"3d0d9de9",7508:"b542e828",7598:"20fb3f1d",7613:"21a024a3",7721:"6402fa87",7918:"17896441",8196:"9280379f",8260:"2a8dccce",8407:"e17b63fd",8421:"d654602c",8422:"31161cd8",8508:"2688c0dd",8518:"a7bd4aaa",8646:"6ecc9e9d",8780:"0cb07e4e",8930:"e1fd9655",9318:"584f2726",9651:"177e5166",9661:"5e95c892",9817:"14eb3368"}[e]||e)+"."+{2:"46794a55",53:"7238485d",222:"080d0190",580:"56005e39",582:"b07f9b15",821:"b784e312",1015:"d0849ae2",1252:"74196099",1342:"a1147615",1361:"58c8ae9e",1538:"16ccf94c",1724:"a6d697f6",1772:"568f02ca",1778:"691c7a89",1792:"3fc781c3",2402:"9aa762c3",2676:"f2ad333a",2692:"bdcce8a2",3237:"48db5ef5",3268:"caa6b389",4368:"f3a81d12",4771:"3a18c4f9",4775:"de58a3fb",5195:"0057c1c1",5874:"2d9c84b0",6279:"70b35cd5",6439:"fe7de27f",7140:"e5ae3d1e",7180:"1646b979",7508:"96f4734e",7598:"97a9db77",7613:"2640735a",7721:"f595f69a",7918:"fe1667aa",8196:"dba23a16",8260:"8e842ddb",8407:"d3046dc5",8421:"f127afd6",8422:"b4534a52",8508:"48e8013c",8518:"6cbc061c",8646:"d48a781d",8780:"38b51982",8930:"33e48f0e",9318:"d3b416a7",9651:"38e9409f",9661:"770588ee",9817:"e2f714dc"}[e]+".js",o.miniCssF=e=>{},o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),o.o=(e,a)=>Object.prototype.hasOwnProperty.call(e,a),r={},f="compositor-live:",o.l=(e,a,t,c)=>{if(r[e])r[e].push(a);else{var d,b;if(void 0!==t)for(var n=document.getElementsByTagName("script"),i=0;i{d.onerror=d.onload=null,clearTimeout(s);var f=r[e];if(delete r[e],d.parentNode&&d.parentNode.removeChild(d),f&&f.forEach((e=>e(t))),a)return a(t)},s=setTimeout(l.bind(null,void 0,{type:"timeout",target:d}),12e4);d.onerror=l.bind(null,d.onerror),d.onload=l.bind(null,d.onload),b&&document.head.appendChild(d)}},o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.p="/",o.gca=function(e){return e={17896441:"7918","4e76d5b1":"2","935f2afb":"53","583850f4":"222","19a7aa20":"580","5732f308":"821",d81783d9:"1015","914825a2":"1252","9641c2a9":"1342",be91778b:"1361","14eaa339":"1538",cd44186e:"1724","15cc4295":"1778",f3168f4a:"1792","42b33983":"2402","896f0ba9":"2676",f94d6d54:"2692","1df93b7f":"3237","7ef038ae":"3268",a94703ab:"4368",fca0959c:"4771",d5b534ab:"4775",b360e2f2:"5195",fab95674:"5874",c2904cbc:"6279",dcfd3d15:"6439","03d586bf":"7140","3d0d9de9":"7180",b542e828:"7508","20fb3f1d":"7598","21a024a3":"7613","6402fa87":"7721","9280379f":"8196","2a8dccce":"8260",e17b63fd:"8407",d654602c:"8421","31161cd8":"8422","2688c0dd":"8508",a7bd4aaa:"8518","6ecc9e9d":"8646","0cb07e4e":"8780",e1fd9655:"8930","584f2726":"9318","177e5166":"9651","5e95c892":"9661","14eb3368":"9817"}[e]||e,o.p+o.u(e)},(()=>{var e={1303:0,532:0};o.f.j=(a,t)=>{var r=o.o(e,a)?e[a]:void 0;if(0!==r)if(r)t.push(r[2]);else if(/^(1303|532)$/.test(a))e[a]=0;else{var f=new Promise(((t,f)=>r=e[a]=[t,f]));t.push(r[2]=f);var c=o.p+o.u(a),d=new Error;o.l(c,(t=>{if(o.o(e,a)&&(0!==(r=e[a])&&(e[a]=void 0),r)){var f=t&&("load"===t.type?"missing":t.type),c=t&&t.target&&t.target.src;d.message="Loading chunk "+a+" failed.\n("+f+": "+c+")",d.name="ChunkLoadError",d.type=f,d.request=c,r[1](d)}}),"chunk-"+a,a)}},o.O.j=a=>0===e[a];var a=(a,t)=>{var r,f,c=t[0],d=t[1],b=t[2],n=0;if(c.some((a=>0!==e[a]))){for(r in d)o.o(d,r)&&(o.m[r]=d[r]);if(b)var i=b(o)}for(a&&a(t);n{"use strict";var e,a,t,r,f,c={},d={};function o(e){var a=d[e];if(void 0!==a)return a.exports;var t=d[e]={exports:{}};return c[e].call(t.exports,t,t.exports,o),t.exports}o.m=c,e=[],o.O=(a,t,r,f)=>{if(!t){var c=1/0;for(i=0;i=f)&&Object.keys(o.O).every((e=>o.O[e](t[b])))?t.splice(b--,1):(d=!1,f0&&e[i-1][2]>f;i--)e[i]=e[i-1];e[i]=[t,r,f]},o.n=e=>{var a=e&&e.__esModule?()=>e.default:()=>e;return o.d(a,{a:a}),a},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,o.t=function(e,r){if(1&r&&(e=this(e)),8&r)return e;if("object"==typeof e&&e){if(4&r&&e.__esModule)return e;if(16&r&&"function"==typeof e.then)return e}var f=Object.create(null);o.r(f);var c={};a=a||[null,t({}),t([]),t(t)];for(var d=2&r&&e;"object"==typeof d&&!~a.indexOf(d);d=t(d))Object.getOwnPropertyNames(d).forEach((a=>c[a]=()=>e[a]));return c.default=()=>e,o.d(f,c),f},o.d=(e,a)=>{for(var t in a)o.o(a,t)&&!o.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:a[t]})},o.f={},o.e=e=>Promise.all(Object.keys(o.f).reduce(((a,t)=>(o.f[t](e,a),a)),[])),o.u=e=>"assets/js/"+({2:"4e76d5b1",53:"935f2afb",222:"583850f4",580:"19a7aa20",821:"5732f308",1015:"d81783d9",1252:"914825a2",1342:"9641c2a9",1361:"be91778b",1538:"14eaa339",1724:"cd44186e",1778:"15cc4295",1792:"f3168f4a",2402:"42b33983",2676:"896f0ba9",2692:"f94d6d54",3237:"1df93b7f",3268:"7ef038ae",4368:"a94703ab",4771:"fca0959c",4775:"d5b534ab",5195:"b360e2f2",5874:"fab95674",6279:"c2904cbc",6439:"dcfd3d15",7140:"03d586bf",7180:"3d0d9de9",7508:"b542e828",7598:"20fb3f1d",7613:"21a024a3",7721:"6402fa87",7918:"17896441",8196:"9280379f",8260:"2a8dccce",8407:"e17b63fd",8421:"d654602c",8422:"31161cd8",8508:"2688c0dd",8518:"a7bd4aaa",8646:"6ecc9e9d",8780:"0cb07e4e",8930:"e1fd9655",9318:"584f2726",9651:"177e5166",9661:"5e95c892",9817:"14eb3368"}[e]||e)+"."+{2:"46794a55",53:"7238485d",222:"080d0190",580:"56005e39",582:"b07f9b15",821:"b784e312",1015:"f39c902d",1252:"74196099",1342:"a1147615",1361:"58c8ae9e",1538:"16ccf94c",1724:"a6d697f6",1772:"568f02ca",1778:"691c7a89",1792:"3fc781c3",2402:"9aa762c3",2676:"f2ad333a",2692:"d41e6c23",3237:"48db5ef5",3268:"caa6b389",4368:"f3a81d12",4771:"3a18c4f9",4775:"de58a3fb",5195:"0057c1c1",5874:"2d9c84b0",6279:"70b35cd5",6439:"fe7de27f",7140:"e5ae3d1e",7180:"1646b979",7508:"96f4734e",7598:"97a9db77",7613:"2640735a",7721:"f595f69a",7918:"fe1667aa",8196:"dba23a16",8260:"8e842ddb",8407:"d3046dc5",8421:"f127afd6",8422:"b4534a52",8508:"48e8013c",8518:"6cbc061c",8646:"d48a781d",8780:"38b51982",8930:"33e48f0e",9318:"d3b416a7",9651:"38e9409f",9661:"770588ee",9817:"e2f714dc"}[e]+".js",o.miniCssF=e=>{},o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),o.o=(e,a)=>Object.prototype.hasOwnProperty.call(e,a),r={},f="compositor-live:",o.l=(e,a,t,c)=>{if(r[e])r[e].push(a);else{var d,b;if(void 0!==t)for(var n=document.getElementsByTagName("script"),i=0;i{d.onerror=d.onload=null,clearTimeout(s);var f=r[e];if(delete r[e],d.parentNode&&d.parentNode.removeChild(d),f&&f.forEach((e=>e(t))),a)return a(t)},s=setTimeout(l.bind(null,void 0,{type:"timeout",target:d}),12e4);d.onerror=l.bind(null,d.onerror),d.onload=l.bind(null,d.onload),b&&document.head.appendChild(d)}},o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.p="/",o.gca=function(e){return e={17896441:"7918","4e76d5b1":"2","935f2afb":"53","583850f4":"222","19a7aa20":"580","5732f308":"821",d81783d9:"1015","914825a2":"1252","9641c2a9":"1342",be91778b:"1361","14eaa339":"1538",cd44186e:"1724","15cc4295":"1778",f3168f4a:"1792","42b33983":"2402","896f0ba9":"2676",f94d6d54:"2692","1df93b7f":"3237","7ef038ae":"3268",a94703ab:"4368",fca0959c:"4771",d5b534ab:"4775",b360e2f2:"5195",fab95674:"5874",c2904cbc:"6279",dcfd3d15:"6439","03d586bf":"7140","3d0d9de9":"7180",b542e828:"7508","20fb3f1d":"7598","21a024a3":"7613","6402fa87":"7721","9280379f":"8196","2a8dccce":"8260",e17b63fd:"8407",d654602c:"8421","31161cd8":"8422","2688c0dd":"8508",a7bd4aaa:"8518","6ecc9e9d":"8646","0cb07e4e":"8780",e1fd9655:"8930","584f2726":"9318","177e5166":"9651","5e95c892":"9661","14eb3368":"9817"}[e]||e,o.p+o.u(e)},(()=>{var e={1303:0,532:0};o.f.j=(a,t)=>{var r=o.o(e,a)?e[a]:void 0;if(0!==r)if(r)t.push(r[2]);else if(/^(1303|532)$/.test(a))e[a]=0;else{var f=new Promise(((t,f)=>r=e[a]=[t,f]));t.push(r[2]=f);var c=o.p+o.u(a),d=new Error;o.l(c,(t=>{if(o.o(e,a)&&(0!==(r=e[a])&&(e[a]=void 0),r)){var f=t&&("load"===t.type?"missing":t.type),c=t&&t.target&&t.target.src;d.message="Loading chunk "+a+" failed.\n("+f+": "+c+")",d.name="ChunkLoadError",d.type=f,d.request=c,r[1](d)}}),"chunk-"+a,a)}},o.O.j=a=>0===e[a];var a=(a,t)=>{var r,f,c=t[0],d=t[1],b=t[2],n=0;if(c.some((a=>0!==e[a]))){for(r in d)o.o(d,r)&&(o.m[r]=d[r]);if(b)var i=b(o)}for(a&&a(t);n Image | Live Compositor - + diff --git a/docs/api/components/InputStream/index.html b/docs/api/components/InputStream/index.html index 365d35690..ded78ffe8 100644 --- a/docs/api/components/InputStream/index.html +++ b/docs/api/components/InputStream/index.html @@ -4,7 +4,7 @@ InputStream | Live Compositor - + diff --git a/docs/api/components/Rescaler/index.html b/docs/api/components/Rescaler/index.html index 2207d5097..158dcb71f 100644 --- a/docs/api/components/Rescaler/index.html +++ b/docs/api/components/Rescaler/index.html @@ -4,7 +4,7 @@ Rescaler | Live Compositor - + diff --git a/docs/api/components/Shader/index.html b/docs/api/components/Shader/index.html index e5c435e71..65ce00116 100644 --- a/docs/api/components/Shader/index.html +++ b/docs/api/components/Shader/index.html @@ -4,7 +4,7 @@ Shader | Live Compositor - + diff --git a/docs/api/components/Text/index.html b/docs/api/components/Text/index.html index 26b40e140..66a3ae775 100644 --- a/docs/api/components/Text/index.html +++ b/docs/api/components/Text/index.html @@ -4,7 +4,7 @@ Text | Live Compositor - + diff --git a/docs/api/components/Tiles/index.html b/docs/api/components/Tiles/index.html index ea6bdab7f..cf526c173 100644 --- a/docs/api/components/Tiles/index.html +++ b/docs/api/components/Tiles/index.html @@ -4,7 +4,7 @@ Tiles | Live Compositor - + diff --git a/docs/api/components/View/index.html b/docs/api/components/View/index.html index 40e5f2be2..c93b34f3d 100644 --- a/docs/api/components/View/index.html +++ b/docs/api/components/View/index.html @@ -4,7 +4,7 @@ View | Live Compositor - + diff --git a/docs/api/components/WebView/index.html b/docs/api/components/WebView/index.html index 0746e392e..ffb5d7124 100644 --- a/docs/api/components/WebView/index.html +++ b/docs/api/components/WebView/index.html @@ -4,7 +4,7 @@ WebView | Live Compositor - + diff --git a/docs/api/generated/component-Image/index.html b/docs/api/generated/component-Image/index.html index c8a611aa7..156ce0bff 100644 --- a/docs/api/generated/component-Image/index.html +++ b/docs/api/generated/component-Image/index.html @@ -4,7 +4,7 @@ component-Image | Live Compositor - + diff --git a/docs/api/generated/component-InputStream/index.html b/docs/api/generated/component-InputStream/index.html index a2d1968fa..8f99e12eb 100644 --- a/docs/api/generated/component-InputStream/index.html +++ b/docs/api/generated/component-InputStream/index.html @@ -4,7 +4,7 @@ component-InputStream | Live Compositor - + diff --git a/docs/api/generated/component-Rescaler/index.html b/docs/api/generated/component-Rescaler/index.html index 2306010e1..842fc7979 100644 --- a/docs/api/generated/component-Rescaler/index.html +++ b/docs/api/generated/component-Rescaler/index.html @@ -4,7 +4,7 @@ component-Rescaler | Live Compositor - + diff --git a/docs/api/generated/component-Text/index.html b/docs/api/generated/component-Text/index.html index 3b1b11809..0aa246489 100644 --- a/docs/api/generated/component-Text/index.html +++ b/docs/api/generated/component-Text/index.html @@ -4,7 +4,7 @@ component-Text | Live Compositor - + diff --git a/docs/api/generated/component-Tiles/index.html b/docs/api/generated/component-Tiles/index.html index b7ce17edf..65cc100e9 100644 --- a/docs/api/generated/component-Tiles/index.html +++ b/docs/api/generated/component-Tiles/index.html @@ -4,7 +4,7 @@ component-Tiles | Live Compositor - + diff --git a/docs/api/generated/component-View/index.html b/docs/api/generated/component-View/index.html index 9a6df2c99..b8b0d9b87 100644 --- a/docs/api/generated/component-View/index.html +++ b/docs/api/generated/component-View/index.html @@ -4,7 +4,7 @@ component-View | Live Compositor - + diff --git a/docs/api/generated/component-WebView/index.html b/docs/api/generated/component-WebView/index.html index b57ccf908..b96103a1c 100644 --- a/docs/api/generated/component-WebView/index.html +++ b/docs/api/generated/component-WebView/index.html @@ -4,7 +4,7 @@ component-WebView | Live Compositor - + diff --git a/docs/api/generated/renderer-Mp4/index.html b/docs/api/generated/renderer-Mp4/index.html index a31ea6e24..7a18cdcad 100644 --- a/docs/api/generated/renderer-Mp4/index.html +++ b/docs/api/generated/renderer-Mp4/index.html @@ -4,7 +4,7 @@ renderer-Mp4 | Live Compositor - + diff --git a/docs/api/generated/renderer-RtpInputStream/index.html b/docs/api/generated/renderer-RtpInputStream/index.html index 01563d611..36403ea14 100644 --- a/docs/api/generated/renderer-RtpInputStream/index.html +++ b/docs/api/generated/renderer-RtpInputStream/index.html @@ -4,7 +4,7 @@ renderer-RtpInputStream | Live Compositor - + @@ -29,7 +29,7 @@

PropertiesPort

type Port = string | u16

InputRtpVideoOptions

-
type InputRtpVideoOptions = {
codec?: "h264";
rtp_payload_type?: u8;
}
+
type InputRtpVideoOptions = {
codec?: "h264";
}

Properties

-
  • rtp_payload_type - (default=96) Value of payload type field in received RTP packets. -Packets with different payload type won't be treated as video and included in composing. Values should be in [0, 64] or [96, 255]. Values in range [65, 95] can't be used. For more information, see RFC Packets with different payload type won't be treated as video and included in composing.
  • InputRtpAudioOptions

    -
    type InputRtpAudioOptions = {
    codec?: "opus";
    sample_rate: u32;
    channels: "mono" | "stereo";
    rtp_payload_type?: u8;
    forward_error_correction?: bool;
    }
    +
    type InputRtpAudioOptions = {
    codec?: "opus";
    forward_error_correction?: bool;
    }

    Properties

    -
  • sample_rate - Sample rate. If the specified sample rate doesn't match real sample rate, audio won't be mixed properly.
  • -
  • channels - Audio channels. -
      -
    • "mono" - Mono audio (single channel).
    • -
    • "stereo" - Stereo audio (two channels).
    • -
    -
  • -
  • rtp_payload_type - (default=97) Value of payload type field in received RTP packets. -Packets with different payload type won't be treated as audio and included in mixing. Values should be in range [0, 64] or [96, 255]. Values in range [65, 95] can't be used. For more information, check out RFC.
  • forward_error_correction - (default=false) Specifies whether the stream uses forward error correction. It's specific for Opus codec. For more information, check out RFC.
  • diff --git a/docs/api/generated/renderer-Shader/index.html b/docs/api/generated/renderer-Shader/index.html index 2b5343029..044d7a753 100644 --- a/docs/api/generated/renderer-Shader/index.html +++ b/docs/api/generated/renderer-Shader/index.html @@ -4,7 +4,7 @@ renderer-Shader | Live Compositor - + diff --git a/docs/api/generated/renderer-WebRenderer/index.html b/docs/api/generated/renderer-WebRenderer/index.html index 44496d228..644095e39 100644 --- a/docs/api/generated/renderer-WebRenderer/index.html +++ b/docs/api/generated/renderer-WebRenderer/index.html @@ -4,7 +4,7 @@ renderer-WebRenderer | Live Compositor - + diff --git a/docs/api/inputs/mp4/index.html b/docs/api/inputs/mp4/index.html index e73080b2d..41c2de69d 100644 --- a/docs/api/inputs/mp4/index.html +++ b/docs/api/inputs/mp4/index.html @@ -4,7 +4,7 @@ MP4 | Live Compositor - + diff --git a/docs/api/inputs/rtp/index.html b/docs/api/inputs/rtp/index.html index 79b151f8d..e15215117 100644 --- a/docs/api/inputs/rtp/index.html +++ b/docs/api/inputs/rtp/index.html @@ -4,7 +4,7 @@ RTP | Live Compositor - + @@ -31,7 +31,7 @@

    PropertiesPort

    type Port = string | u16

    InputRtpVideoOptions

    -
    type InputRtpVideoOptions = {
    codec?: "h264";
    rtp_payload_type?: u8;
    }
    +
    type InputRtpVideoOptions = {
    codec?: "h264";
    }

    Properties

    -
  • rtp_payload_type - (default=96) Value of payload type field in received RTP packets. -Packets with different payload type won't be treated as video and included in composing. Values should be in [0, 64] or [96, 255]. Values in range [65, 95] can't be used. For more information, see RFC Packets with different payload type won't be treated as video and included in composing.
  • InputRtpAudioOptions

    -
    type InputRtpAudioOptions = {
    codec?: "opus";
    sample_rate: u32;
    channels: "mono" | "stereo";
    rtp_payload_type?: u8;
    forward_error_correction?: bool;
    }
    +
    type InputRtpAudioOptions = {
    codec?: "opus";
    forward_error_correction?: bool;
    }

    Properties

    -
  • sample_rate - Sample rate. If the specified sample rate doesn't match real sample rate, audio won't be mixed properly.
  • -
  • channels - Audio channels. -
      -
    • "mono" - Mono audio (single channel).
    • -
    • "stereo" - Stereo audio (two channels).
    • -
    -
  • -
  • rtp_payload_type - (default=97) Value of payload type field in received RTP packets. -Packets with different payload type won't be treated as audio and included in mixing. Values should be in range [0, 64] or [96, 255]. Values in range [65, 95] can't be used. For more information, check out RFC.
  • forward_error_correction - (default=false) Specifies whether the stream uses forward error correction. It's specific for Opus codec. For more information, check out RFC.
  • diff --git a/docs/api/renderers/image/index.html b/docs/api/renderers/image/index.html index a40d90c00..5798e8000 100644 --- a/docs/api/renderers/image/index.html +++ b/docs/api/renderers/image/index.html @@ -4,7 +4,7 @@ Image | Live Compositor - + diff --git a/docs/api/renderers/shader/index.html b/docs/api/renderers/shader/index.html index ff384e36a..c810bbea6 100644 --- a/docs/api/renderers/shader/index.html +++ b/docs/api/renderers/shader/index.html @@ -4,7 +4,7 @@ Shader | Live Compositor - + diff --git a/docs/api/renderers/web/index.html b/docs/api/renderers/web/index.html index 3ca29e3cf..a8481dc91 100644 --- a/docs/api/renderers/web/index.html +++ b/docs/api/renderers/web/index.html @@ -4,7 +4,7 @@ Web Renderer | Live Compositor - + diff --git a/docs/api/routes/index.html b/docs/api/routes/index.html index 5d63dd489..bea4df435 100644 --- a/docs/api/routes/index.html +++ b/docs/api/routes/index.html @@ -4,7 +4,7 @@ Routes | Live Compositor - + diff --git a/docs/category/api-reference/index.html b/docs/category/api-reference/index.html index b5b5cedc5..8dd7be34f 100644 --- a/docs/category/api-reference/index.html +++ b/docs/category/api-reference/index.html @@ -4,7 +4,7 @@ API Reference | Live Compositor - + diff --git a/docs/category/deployment/index.html b/docs/category/deployment/index.html index 494eb3e61..7a5334c37 100644 --- a/docs/category/deployment/index.html +++ b/docs/category/deployment/index.html @@ -4,7 +4,7 @@ Deployment | Live Compositor - + diff --git a/docs/common/absolute-position/index.html b/docs/common/absolute-position/index.html index fe3891bb1..de0335fa6 100644 --- a/docs/common/absolute-position/index.html +++ b/docs/common/absolute-position/index.html @@ -4,7 +4,7 @@ absolute-position | Live Compositor - + diff --git a/docs/concept/component/index.html b/docs/concept/component/index.html index 57208ca62..8e2dc01c2 100644 --- a/docs/concept/component/index.html +++ b/docs/concept/component/index.html @@ -4,7 +4,7 @@ Component | Live Compositor - + diff --git a/docs/concept/layouts/index.html b/docs/concept/layouts/index.html index eb2071886..1023648f3 100644 --- a/docs/concept/layouts/index.html +++ b/docs/concept/layouts/index.html @@ -4,7 +4,7 @@ Layouts | Live Compositor - + diff --git a/docs/concept/shaders/index.html b/docs/concept/shaders/index.html index e4cd7273e..97fc1bc3e 100644 --- a/docs/concept/shaders/index.html +++ b/docs/concept/shaders/index.html @@ -4,7 +4,7 @@ Shaders | Live Compositor - + diff --git a/docs/concept/web/index.html b/docs/concept/web/index.html index b42365e0f..41db456f4 100644 --- a/docs/concept/web/index.html +++ b/docs/concept/web/index.html @@ -4,7 +4,7 @@ Web Renderer | Live Compositor - + diff --git a/docs/deployment/configuration/index.html b/docs/deployment/configuration/index.html index 814cd5032..b8f4bb0ec 100644 --- a/docs/deployment/configuration/index.html +++ b/docs/deployment/configuration/index.html @@ -4,7 +4,7 @@ Configuration | Live Compositor - + diff --git a/docs/get-started/elixir/index.html b/docs/get-started/elixir/index.html index 43cb874b3..e54d137dd 100644 --- a/docs/get-started/elixir/index.html +++ b/docs/get-started/elixir/index.html @@ -4,7 +4,7 @@ Elixir | Live Compositor - + diff --git a/docs/get-started/index.html b/docs/get-started/index.html index d38b07163..ba919738e 100644 --- a/docs/get-started/index.html +++ b/docs/get-started/index.html @@ -4,7 +4,7 @@ Get started | Live Compositor - + diff --git a/docs/get-started/node/index.html b/docs/get-started/node/index.html index 982be8f28..6be3e42ca 100644 --- a/docs/get-started/node/index.html +++ b/docs/get-started/node/index.html @@ -4,7 +4,7 @@ Node.js | Live Compositor - + diff --git a/docs/intro/index.html b/docs/intro/index.html index 5fba23110..7dbd70c94 100644 --- a/docs/intro/index.html +++ b/docs/intro/index.html @@ -4,7 +4,7 @@ Introduction | Live Compositor - + diff --git a/index.html b/index.html index 53fbf536e..b9daf1456 100644 --- a/index.html +++ b/index.html @@ -4,7 +4,7 @@ Live Compositor | Live Compositor - +