diff --git a/static/web/404.html b/static/web/404.html index fddaa1ef1..71ca68b26 100644 --- a/static/web/404.html +++ b/static/web/404.html @@ -1,4 +1,4 @@ -404: This page could not be found

404

This page could not be found.

\ No newline at end of file + }

404

This page could not be found.

\ No newline at end of file diff --git a/static/web/404/index.html b/static/web/404/index.html index fddaa1ef1..71ca68b26 100644 --- a/static/web/404/index.html +++ b/static/web/404/index.html @@ -1,4 +1,4 @@ -404: This page could not be found

404

This page could not be found.

\ No newline at end of file + }

404

This page could not be found.

\ No newline at end of file diff --git a/static/web/_next/static/OcEHpW_7-sQqerWFmPfm6/_buildManifest.js b/static/web/_next/static/AeEKj6aowmulMPme9li47/_buildManifest.js similarity index 98% rename from static/web/_next/static/OcEHpW_7-sQqerWFmPfm6/_buildManifest.js rename to static/web/_next/static/AeEKj6aowmulMPme9li47/_buildManifest.js index 66d6bb9f0..00a51d320 100644 --- a/static/web/_next/static/OcEHpW_7-sQqerWFmPfm6/_buildManifest.js +++ b/static/web/_next/static/AeEKj6aowmulMPme9li47/_buildManifest.js @@ -1 +1 @@ -self.__BUILD_MANIFEST=function(s,a,c,e,i,t,n,d,f,h,o,m,b,u,k,g,j,r,p,l,_,w,v,y,I,B,F,A,D){return{__rewrites:{beforeFiles:[],afterFiles:[{source:"/api/:path*"},{source:"/hls/:path*"},{source:"/img/:path*"},{source:"/logo"},{source:"/thumbnail.jpg"}],fallback:[]},"/":[a,s,c,t,n,f,b,u,r,"static/chunks/8793-fb39c89e6ac1a77e.js",h,"static/css/089ea92974e6f7ca.css","static/chunks/pages/index-49786d08775a251c.js"],"/_error":["static/chunks/pages/_error-02cc11fd74b4e5ff.js"],"/admin":[a,s,c,e,i,t,n,d,o,u,"static/chunks/8676-c38bd41883242e8e.js","static/chunks/pages/admin-f61cf9b387d8362c.js"],"/admin/access-tokens":[a,s,c,e,i,"static/chunks/pages/admin/access-tokens-91177ddb58bd90ee.js"],"/admin/actions":[k,a,s,c,e,p,"static/chunks/pages/admin/actions-7483f9b4cbcfc09b.js"],"/admin/chat/emojis":[a,s,c,e,m,l,"static/chunks/pages/admin/chat/emojis-8c7682b59e276112.js"],"/admin/chat/messages":[k,a,s,c,e,i,n,_,"static/chunks/pages/admin/chat/messages-7e88922542839f8a.js"],"/admin/chat/users":[k,a,s,c,e,i,t,n,_,"static/chunks/pages/admin/chat/users-8fc28dfaa9e52d37.js"],"/admin/config/appearance":[w,b,v,y,"static/css/6c8941159bdd16f6.css","static/chunks/pages/admin/config/appearance-be1829febefc4db6.js"],"/admin/config/streamkeys":[a,s,c,e,p,"static/chunks/pages/admin/config/streamkeys-6a3f2badc0712b01.js"],"/admin/config-chat":["static/chunks/pages/admin/config-chat-fab037451220beb1.js"],"/admin/config-federation":["static/chunks/8572-deca358d1a965d80.js","static/chunks/pages/admin/config-federation-3e7e0a54acf1bd9b.js"],"/admin/config-notify":["static/chunks/pages/admin/config-notify-ebd8215757f41c6c.js"],"/admin/config-public-details":[w,a,s,c,e,m,v,l,"static/chunks/7022-3b2d41956634908e.js","static/chunks/pages/admin/config-public-details-496d14bd2df3187b.js"],"/admin/config-server-details":[I,"static/chunks/pages/admin/config-server-details-fafadf003f21dada.js"],"/admin/config-social-items":[a,s,c,e,"static/chunks/pages/admin/config-social-items-b791a665eeb4c2aa.js"],"/admin/config-storage":["static/chunks/pages/admin/config-storage-deb117562bb5cc59.js"],"/admin/config-video":[a,s,c,e,I,"static/chunks/6962-f197cc126c73fb7f.js","static/chunks/pages/admin/config-video-ea088d6f81d33fcc.js"],"/admin/federation/actions":[a,s,c,e,i,"static/chunks/pages/admin/federation/actions-d79f77b8b18148ad.js"],"/admin/federation/followers":[a,s,c,e,i,t,"static/chunks/pages/admin/federation/followers-8c2d451ee44fb398.js"],"/admin/hardware-info":[g,i,t,d,m,o,j,"static/chunks/pages/admin/hardware-info-c3e778b57a2b1513.js"],"/admin/help":[t,d,b,y,"static/chunks/7830-37f6f9f7aaae2bbf.js","static/chunks/pages/admin/help-cf85d400d1ada208.js"],"/admin/logs":[a,s,c,e,i,u,"static/chunks/pages/admin/logs-162fcb457a63183f.js"],"/admin/stream-health":[g,i,t,d,o,j,"static/chunks/2934-c96a01cbf005d5a7.js","static/chunks/pages/admin/stream-health-f2cf52294c67fcb8.js"],"/admin/upgrade":[a,s,c,e,"static/chunks/2069-c5012847917b76df.js","static/chunks/pages/admin/upgrade-41783a74d59f851b.js"],"/admin/viewer-info":[g,a,s,c,e,i,t,n,d,m,o,j,"static/chunks/pages/admin/viewer-info-028b7180ef826618.js"],"/admin/webhooks":[a,s,c,e,"static/chunks/pages/admin/webhooks-852ecc4a76a501ad.js"],"/embed/chat/readonly":[B,F,f,A,h,D,"static/css/e2479775241cd5e1.css","static/chunks/pages/embed/chat/readonly-1d789cb2de5c6857.js"],"/embed/chat/readwrite":[B,F,s,f,A,"static/chunks/911-9156415c36038fd8.js",h,D,"static/css/d97e63babcccad86.css","static/chunks/pages/embed/chat/readwrite-9c8509e8be1ad34b.js"],"/embed/video":["static/chunks/d6e1aeb5-0705bf43bcd6af77.js",n,f,"static/css/7c735c05af084bb2.css","static/chunks/7902-139b487986de3737.js",r,h,"static/chunks/2239-ceff4252276e3d5e.js","static/css/f065863129f648da.css","static/chunks/pages/embed/video-04abad59027d2c31.js"],sortedPages:["/","/_app","/_error","/admin","/admin/access-tokens","/admin/actions","/admin/chat/emojis","/admin/chat/messages","/admin/chat/users","/admin/config/appearance","/admin/config/streamkeys","/admin/config-chat","/admin/config-federation","/admin/config-notify","/admin/config-public-details","/admin/config-server-details","/admin/config-social-items","/admin/config-storage","/admin/config-video","/admin/federation/actions","/admin/federation/followers","/admin/hardware-info","/admin/help","/admin/logs","/admin/stream-health","/admin/upgrade","/admin/viewer-info","/admin/webhooks","/embed/chat/readonly","/embed/chat/readwrite","/embed/video"]}}("static/chunks/3903-37c1af34070ecbf4.js","static/chunks/8909-6d59cce6f69e27ae.js","static/chunks/4267-cfe0f573c442773c.js","static/chunks/2206-8da9006b177e3283.js","static/chunks/8091-5d2e0cdb05cd1ef7.js","static/chunks/575-11393a44fd60b818.js","static/chunks/5938-b5bac17e4fa31c49.js","static/chunks/5101-e2c6238798b20535.js","static/chunks/6395-f04016ae318b5e91.js","static/chunks/7466-1e76829814bac0c3.js","static/chunks/4763-00b0de2ecc334aed.js","static/chunks/5577-ce77da4314c60f70.js","static/chunks/1082-51b9f63c6446d49d.js","static/chunks/5360-fbeb63371734b066.js","static/chunks/29107295-1453a3860b50f70e.js","static/chunks/ee8b1517-9cf421a7da630c58.js","static/chunks/236-f876fd1a47451d45.js","static/chunks/8245-b34a27e35386277e.js","static/chunks/8119-57984c2c349ea105.js","static/chunks/2938-98037ce4e714d752.js","static/chunks/9550-db4a457e5e1bbbcf.js","static/chunks/4ad82c5e-573627f1f4333b92.js","static/chunks/1943-6310cc9ae4d0ffc3.js","static/chunks/1938-c04d908728a12ddb.js","static/chunks/3286-716fef4ced844a4d.js","static/chunks/d3048c20-93c008b4ff3ddb0e.js","static/chunks/d2094a0f-7059b9f8abbc2737.js","static/chunks/3729-e88e6289f5436bb5.js","static/chunks/4977-cca63b780fb2a427.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file +self.__BUILD_MANIFEST=function(s,a,c,e,i,t,n,d,f,h,o,m,b,u,k,g,j,r,p,l,_,w,v,y,I,B,F,A,D){return{__rewrites:{beforeFiles:[],afterFiles:[{source:"/api/:path*"},{source:"/hls/:path*"},{source:"/img/:path*"},{source:"/logo"},{source:"/thumbnail.jpg"}],fallback:[]},"/":[a,s,c,t,n,f,b,u,r,"static/chunks/8793-fb39c89e6ac1a77e.js",h,"static/css/089ea92974e6f7ca.css","static/chunks/pages/index-49786d08775a251c.js"],"/_error":["static/chunks/pages/_error-02cc11fd74b4e5ff.js"],"/admin":[a,s,c,e,i,t,n,d,o,u,"static/chunks/8676-c38bd41883242e8e.js","static/chunks/pages/admin-f61cf9b387d8362c.js"],"/admin/access-tokens":[a,s,c,e,i,"static/chunks/pages/admin/access-tokens-91177ddb58bd90ee.js"],"/admin/actions":[k,a,s,c,e,p,"static/chunks/pages/admin/actions-7483f9b4cbcfc09b.js"],"/admin/chat/emojis":[a,s,c,e,m,l,"static/chunks/pages/admin/chat/emojis-8c7682b59e276112.js"],"/admin/chat/messages":[k,a,s,c,e,i,n,_,"static/chunks/pages/admin/chat/messages-7e88922542839f8a.js"],"/admin/chat/users":[k,a,s,c,e,i,t,n,_,"static/chunks/pages/admin/chat/users-8fc28dfaa9e52d37.js"],"/admin/config/appearance":[w,b,v,y,"static/css/6c8941159bdd16f6.css","static/chunks/pages/admin/config/appearance-be1829febefc4db6.js"],"/admin/config/streamkeys":[a,s,c,e,p,"static/chunks/pages/admin/config/streamkeys-6a3f2badc0712b01.js"],"/admin/config-chat":["static/chunks/pages/admin/config-chat-fab037451220beb1.js"],"/admin/config-federation":["static/chunks/8572-deca358d1a965d80.js","static/chunks/pages/admin/config-federation-3e7e0a54acf1bd9b.js"],"/admin/config-notify":["static/chunks/pages/admin/config-notify-ebd8215757f41c6c.js"],"/admin/config-public-details":[w,a,s,c,e,m,v,l,"static/chunks/7022-3b2d41956634908e.js","static/chunks/pages/admin/config-public-details-496d14bd2df3187b.js"],"/admin/config-server-details":[I,"static/chunks/pages/admin/config-server-details-fafadf003f21dada.js"],"/admin/config-social-items":[a,s,c,e,"static/chunks/pages/admin/config-social-items-b791a665eeb4c2aa.js"],"/admin/config-storage":["static/chunks/pages/admin/config-storage-deb117562bb5cc59.js"],"/admin/config-video":[a,s,c,e,I,"static/chunks/6962-f197cc126c73fb7f.js","static/chunks/pages/admin/config-video-ea088d6f81d33fcc.js"],"/admin/federation/actions":[a,s,c,e,i,"static/chunks/pages/admin/federation/actions-d79f77b8b18148ad.js"],"/admin/federation/followers":[a,s,c,e,i,t,"static/chunks/pages/admin/federation/followers-8c2d451ee44fb398.js"],"/admin/hardware-info":[g,i,t,d,m,o,j,"static/chunks/pages/admin/hardware-info-c3e778b57a2b1513.js"],"/admin/help":[t,d,b,y,"static/chunks/7830-37f6f9f7aaae2bbf.js","static/chunks/pages/admin/help-cf85d400d1ada208.js"],"/admin/logs":[a,s,c,e,i,u,"static/chunks/pages/admin/logs-162fcb457a63183f.js"],"/admin/stream-health":[g,i,t,d,o,j,"static/chunks/2934-c96a01cbf005d5a7.js","static/chunks/pages/admin/stream-health-f2cf52294c67fcb8.js"],"/admin/upgrade":[a,s,c,e,"static/chunks/2069-c5012847917b76df.js","static/chunks/pages/admin/upgrade-41783a74d59f851b.js"],"/admin/viewer-info":[g,a,s,c,e,i,t,n,d,m,o,j,"static/chunks/pages/admin/viewer-info-028b7180ef826618.js"],"/admin/webhooks":[a,s,c,e,"static/chunks/pages/admin/webhooks-852ecc4a76a501ad.js"],"/embed/chat/readonly":[B,F,f,A,h,D,"static/css/e2479775241cd5e1.css","static/chunks/pages/embed/chat/readonly-1d789cb2de5c6857.js"],"/embed/chat/readwrite":[B,F,s,f,A,"static/chunks/911-9156415c36038fd8.js",h,D,"static/css/d97e63babcccad86.css","static/chunks/pages/embed/chat/readwrite-9c8509e8be1ad34b.js"],"/embed/video":["static/chunks/d6e1aeb5-0705bf43bcd6af77.js",n,f,"static/css/7c735c05af084bb2.css","static/chunks/7902-139b487986de3737.js",r,h,"static/chunks/2239-de44814eef43316f.js","static/css/f065863129f648da.css","static/chunks/pages/embed/video-04abad59027d2c31.js"],sortedPages:["/","/_app","/_error","/admin","/admin/access-tokens","/admin/actions","/admin/chat/emojis","/admin/chat/messages","/admin/chat/users","/admin/config/appearance","/admin/config/streamkeys","/admin/config-chat","/admin/config-federation","/admin/config-notify","/admin/config-public-details","/admin/config-server-details","/admin/config-social-items","/admin/config-storage","/admin/config-video","/admin/federation/actions","/admin/federation/followers","/admin/hardware-info","/admin/help","/admin/logs","/admin/stream-health","/admin/upgrade","/admin/viewer-info","/admin/webhooks","/embed/chat/readonly","/embed/chat/readwrite","/embed/video"]}}("static/chunks/3903-37c1af34070ecbf4.js","static/chunks/8909-6d59cce6f69e27ae.js","static/chunks/4267-cfe0f573c442773c.js","static/chunks/2206-8da9006b177e3283.js","static/chunks/8091-5d2e0cdb05cd1ef7.js","static/chunks/575-11393a44fd60b818.js","static/chunks/5938-b5bac17e4fa31c49.js","static/chunks/5101-e2c6238798b20535.js","static/chunks/6395-f04016ae318b5e91.js","static/chunks/7466-1e76829814bac0c3.js","static/chunks/4763-00b0de2ecc334aed.js","static/chunks/5577-ce77da4314c60f70.js","static/chunks/1082-51b9f63c6446d49d.js","static/chunks/5360-fbeb63371734b066.js","static/chunks/29107295-1453a3860b50f70e.js","static/chunks/ee8b1517-9cf421a7da630c58.js","static/chunks/236-f876fd1a47451d45.js","static/chunks/8245-b34a27e35386277e.js","static/chunks/8119-57984c2c349ea105.js","static/chunks/2938-98037ce4e714d752.js","static/chunks/9550-db4a457e5e1bbbcf.js","static/chunks/4ad82c5e-573627f1f4333b92.js","static/chunks/1943-6310cc9ae4d0ffc3.js","static/chunks/1938-c04d908728a12ddb.js","static/chunks/3286-716fef4ced844a4d.js","static/chunks/d3048c20-93c008b4ff3ddb0e.js","static/chunks/d2094a0f-7059b9f8abbc2737.js","static/chunks/3729-e88e6289f5436bb5.js","static/chunks/4977-cca63b780fb2a427.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file diff --git a/static/web/_next/static/OcEHpW_7-sQqerWFmPfm6/_ssgManifest.js b/static/web/_next/static/AeEKj6aowmulMPme9li47/_ssgManifest.js similarity index 100% rename from static/web/_next/static/OcEHpW_7-sQqerWFmPfm6/_ssgManifest.js rename to static/web/_next/static/AeEKj6aowmulMPme9li47/_ssgManifest.js diff --git a/static/web/_next/static/chunks/2239-ceff4252276e3d5e.js b/static/web/_next/static/chunks/2239-ceff4252276e3d5e.js deleted file mode 100644 index a8f1c7f42..000000000 --- a/static/web/_next/static/chunks/2239-ceff4252276e3d5e.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2239],{8888:function(e,t,i){"use strict";i.r(t),i.d(t,{OwncastPlayer:function(){return x},default:function(){return S}});var n=i(85893),s=i(67294),r=i(4480),a=i(49218),l=i(85215),o=i(76161),h=i.n(o);i(27901);let c=e=>{let{options:t,onReady:i}=e,r=s.useRef(null),a=s.useRef(null);return s.useEffect(()=>{if(!a.current){let e=r.current,n=a.current=(0,l.Z)(e,t,()=>(console.debug("player is ready"),i&&i(n,l.Z)));n.autoplay(t.autoplay),n.src(t.sources)}l.Z.Vhs.xhr.beforeRequest=e=>{if(e.uri.match("m3u8")){let t=Math.random().toString(16).substr(2,8);e.uri="".concat(e.uri,"?cachebust=").concat(t)}return e}},[t,r]),(0,n.jsx)("div",{"data-vjs-player":!0,children:(0,n.jsx)("video",{ref:r,className:"video-js vjs-big-play-centered vjs-show-big-play-button-on-pause ".concat(h().player," vjs-owncast")})})},u={position:"absolute",width:"100%",height:"100%"},d=e=>{let{src:t="",width:i,height:r,objectFit:a="fill",duration:l="1s"}=e,o=(0,s.useMemo)(()=>({display:"inline-block",position:"relative",width:i,height:r}),[i,r]),h=(0,s.useMemo)(()=>[{...u,objectFit:a,opacity:0,transition:"opacity ".concat(l)},{...u,objectFit:a,opacity:1,transition:"opacity ".concat(l)},{...u,objectFit:a,opacity:0}],[a,l]),[c,d]=(0,s.useState)(0),[m,f]=(0,s.useState)(["",""]),g=t!==m[1]?t:"",p=()=>{d((c+1)%3),f([m[1],g])};return(0,n.jsx)("span",{style:o,children:[...m,g].map((e,t)=>""!==e&&(0,n.jsx)("img",{src:e,alt:"",style:h[t],onLoad:2===t?p:void 0},e))})};d.defaultProps={objectFit:"fill",duration:"3s"};var m=i(70034),f=i.n(m);let g=e=>{let t,{online:i,initialSrc:r,src:a}=e,[l,o]=(0,s.useState)(r),[h,c]=(0,s.useState)("0s");return(0,s.useEffect)(()=>{clearInterval(t),t=setInterval(()=>{"0s"===h&&c("3s"),o("".concat(a,"?").concat(Date.now()))},2e4)},[]),(0,n.jsxs)("div",{className:f().poster,children:[!i&&(0,n.jsx)("img",{src:r,alt:"logo"}),i&&(0,n.jsx)(d,{src:l,duration:h,objectFit:"cover",width:"100%",height:"100%"})]})};var p=i(72581),y=i(77466),b=class{stop(){clearInterval(this.sendMetricsTimer),this.player.off()}setClockSkew(e){this.clockSkewMs=e}videoJSReady(){let e=this.player.tech({IWillNotUseThisInPlugins:!0});this.supportsDetailedMetrics=!!e,e.on("usage",e=>{"vhs-unknown-waiting"===e.name&&this.setIsBuffering(!0),"vhs-rendition-change-abr"===e.name&&this.incrementQualityVariantChanges()});let t=this.player.textTracks();t.addEventListener("cuechange",()=>{this.incrementQualityVariantChanges()})}handlePlaying(){clearInterval(this.collectPlaybackMetricsTimer),this.collectPlaybackMetricsTimer=setInterval(()=>{this.collectPlaybackMetrics()},5e3)}handleEnded(){clearInterval(this.collectPlaybackMetricsTimer)}handleBuffering(){this.incrementErrorCount(1),this.setIsBuffering(!0)}handleNoLongerBuffering(){this.setIsBuffering(!1)}handleError(){this.incrementErrorCount(1)}incrementErrorCount(e){this.errors+=e}incrementQualityVariantChanges(){if(!this.hasPerformedInitialVariantChange){this.hasPerformedInitialVariantChange=!0;return}this.qualityVariantChanges++}setIsBuffering(e){if(this.isBuffering=e,!e){clearTimeout(this.bufferingDurationTimer);return}this.bufferingDurationTimer=setTimeout(()=>{this.incrementErrorCount(1)},500)}trackSegmentDownloadTime(e){this.segmentDownloadTime.push(e)}trackBandwidth(e){this.bandwidthTracking.push(e)}trackLatency(e){this.latencyTracking.push(e)}collectPlaybackMetrics(){let e=this.player.tech({IWillNotUseThisInPlugins:!0});if(!e||!e.vhs||this.player.paused())return;let t=this.player.networkState();if(2!==t)return;let i=e.vhs.systemBandwidth;this.trackBandwidth(i);try{let n=function(e){let t;let i=e.vhs.playlists.media(),n=e.currentTime();for(let s=0,r=i.segments.length;s=40)return;this.trackLatency(a)}catch(l){console.warn(l)}}async send(){let e;if(0===this.segmentDownloadTime.length||!this.player||this.player.paused())return;let t=this.errors;if(this.supportsDetailedMetrics){let i=e=>e.reduce((e,t)=>e+t,0)/e.length,n=i(this.segmentDownloadTime)/1e3,s=i(this.bandwidthTracking)/1e3,r=i(this.latencyTracking)/1e3;e={bandwidth:Math.round(1e3*s)/1e3,latency:Math.round(1e3*r)/1e3,downloadDuration:Math.round(1e3*n)/1e3,errors:t+(this.isBuffering?1:0),qualityVariantChanges:this.qualityVariantChanges}}else e={errors:t+(this.isBuffering?1:0)};this.errors=0,this.qualityVariantChanges=0,this.segmentDownloadTime=[],this.bandwidthTracking=[],this.latencyTracking=[];let a={method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)};try{await fetch("/api/metrics/playback",a)}catch(l){console.error(l)}}constructor(e,t){var i=this;this.player=e,this.supportsDetailedMetrics=!1,this.hasPerformedInitialVariantChange=!1,this.clockSkewMs=0,this.segmentDownloadTime=[],this.bandwidthTracking=[],this.latencyTracking=[],this.errors=0,this.qualityVariantChanges=0,this.isBuffering=!1,this.bufferingDurationTimer=0,this.collectPlaybackMetricsTimer=0,this.videoJSReady=this.videoJSReady.bind(this),this.handlePlaying=this.handlePlaying.bind(this),this.handleBuffering=this.handleBuffering.bind(this),this.handleEnded=this.handleEnded.bind(this),this.handleError=this.handleError.bind(this),this.send=this.send.bind(this),this.collectPlaybackMetrics=this.collectPlaybackMetrics.bind(this),this.handleNoLongerBuffering=this.handleNoLongerBuffering.bind(this),this.sendMetricsTimer=0,this.player.on("canplaythrough",this.handleNoLongerBuffering),this.player.on("error",this.handleError),this.player.on("stalled",this.handleBuffering),this.player.on("waiting",this.handleBuffering),this.player.on("playing",this.handlePlaying),this.player.on("ended",this.handleEnded);let n=t.xhr;t.Vhs.xhr=function(){for(var e=arguments.length,t=Array(e),s=0;s{let s=new Date,l=s.getTime()-r.getTime();i.trackSegmentDownloadTime(l),a(e,t,n)}}return n(...t)},this.videoJSReady(),this.sendMetricsTimer=setInterval(()=>{this.send()},1e4)}},T=function(e,t,i,n){let s=t.getComponent("MenuItem"),r=t.getComponent("MenuItem"),a=t.getComponent("MenuButton"),l=new r(e,{selectable:!0});l.setAttribute("class","latency-toggle-item"),l.on("click",()=>{n()});let o=new class extends s{createEl(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"button",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=super.createEl(e,t,i);return n.innerHTML='
',n}constructor(e,t){super(e,t)}}(e,{selectable:!1});class h extends a{createItems(){let t=e.tech({IWillNotUseThisInPlugins:!0}),n=new r(e,{selectable:!0,label:"Auto"}),s=i.map(i=>{let n=new r(e,{selectable:!0,label:i.name});return n.on("click",()=>{if(!t){console.warn("Invalid attempt to access null player tech");return}t.vhs.representations().forEach((e,t)=>{e.enabled(t===i.index)}),n.selected(!1)}),n});n.on("click",()=>{t.vhs.representations().forEach(e=>{e.enabled(!0)}),n.selected(!1)});let a=!!t&&!!t.vhs;return i.length<2&&a?[l]:i.length>1&&a?[n,...s,o,l]:a||1!==i.length?[n,...s]:[]}constructor(){super(e)}}let c=e.tech({IWillNotUseThisInPlugins:!0});if(i.length<2&&(!c||!c.vhs))return;t.registerComponent("MenuButton",h);let u=new h;return u.addClass("vjs-quality-selector"),u},v=class{setClockSkew(e){this.clockSkewMs=e}check(){if(new Date().getTime()-this.startupTime.getTime()<1e4||this.player.paused()||this.player.seeking()||this.inTimeout||!this.enabled)return;let e=this.player.tech({IWillNotUseThisInPlugins:!0});if(!e||!e.vhs)return;let t=this.player.networkState();if(2!==t)return;let i=0;try{if(0===e.vhs.stats.buffered.length){this.timeout();return}e.vhs.stats.buffered.forEach(e=>{i+=e.end-e.start})}catch(n){console.error(n)}let s=e.vhs.playlists.media(),r=s.attributes.BANDWIDTH,a=e.vhs.systemBandwidth,l=a/r;try{let o=function(e){let t;let i=e.vhs.playlists.media(),n=e.currentTime();for(let s=0,r=i.segments.length;se+t,0)/c.length,d=Math.max(1.4*u,Math.min(1e3*o.duration*2.6,15e3));u>=d&&(d=u+3e3);let m=o.dateTimeObject.getTime(),f=new Date().getTime()+this.clockSkewMs,g=f-m;if(this.currentLatency=g,Math.abs(g)>8e4){this.timeout();return}if(g>d){if(this.shouldJumpToLive()&&g>d+5e3){let p=g/1e3-3*o.duration,y=this.player.currentTime()+p;console.info("latency",g/1e3,"jumping",p,"to live from ",this.player.currentTime()," to ",y);let b=e.vhs.stats.buffered[0].end,T=e.vhs.stats.buffered[0].start;if(y>Tthis.playbackRate+.02&&(v=this.playbackRate+.02),v=Math.round(1e3*v)/1e3,this.start(v)}else g<=u&&this.stop();console.info("latency",g/1e3,"min",u/1e3,"max",d/1e3,"playback rate",this.playbackRate,"enabled:",this.enabled,"running: ",this.running,"skew: ",this.clockSkewMs,"rebuffer events: ",this.bufferingCounter)}catch(k){}}shouldJumpToLive(){if(this.bufferingCounter>1)return!1;let e=new Date().getTime(),t=e-this.lastJumpOccurred;return t>2e4}jump(e){this.jumpingToLiveIgnoreBuffer=!0,this.performedInitialLiveJump=!0,this.lastJumpOccurred=new Date,console.info("current time",this.player.currentTime(),"seeking to",e),this.player.currentTime(e),setTimeout(()=>{this.jumpingToLiveIgnoreBuffer=!1},5e3)}setPlaybackRate(e){this.playbackRate=e,this.player.playbackRate(e)}start(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;!this.inTimeout&&this.enabled&&e!==this.playbackRate&&(this.running=!0,this.setPlaybackRate(e))}stop(){this.running&&console.log("stopping latency compensator..."),this.running=!1,this.setPlaybackRate(1)}enable(){this.enabled=!0,clearInterval(this.checkTimer),clearTimeout(this.bufferingTimer),this.checkTimer=setInterval(()=>{this.check()},3e3)}disable(){clearInterval(this.checkTimer),clearTimeout(this.timeoutTimer),this.stop(),this.enabled=!1}timeout(){this.jumpingToLiveIgnoreBuffer||(this.inTimeout=!0,this.stop(),clearTimeout(this.timeoutTimer),this.timeoutTimer=setTimeout(()=>{this.endTimeout()},3e4))}endTimeout(){clearTimeout(this.timeoutTimer),this.inTimeout=!1}handlePlaying(){let e=this.playing;this.playing=!0,clearTimeout(this.bufferingTimer),this.enabled&&this.shouldJumpToLive()&&(e||(this.jumpingToLiveIgnoreBuffer=!0,this.player.liveTracker.seekToLiveEdge(),this.lastJumpOccurred=new Date))}handlePause(){this.playing=!1}handleEnded(){this.enabled&&this.disable()}handleError(){this.enabled&&this.timeout()}countBufferingEvent(){if(this.bufferingCounter+=1,this.bufferingCounter>4){this.disable();return}this.bufferedAtLatency.push(this.currentLatency),console.log("latency compensation timeout due to buffering:",this.bufferingCounter,"buffering events of",4),setTimeout(()=>{this.bufferingCounter>0&&(this.bufferingCounter-=1)},18e4)}handleBuffering(){if(this.enabled&&!this.inTimeout){if(this.jumpingToLiveIgnoreBuffer){this.jumpingToLiveIgnoreBuffer=!1;return}this.timeout(),clearTimeout(this.bufferingTimer),this.bufferingTimer=setTimeout(()=>{this.countBufferingEvent()},200)}}constructor(e){this.player=e,this.playing=!1,this.enabled=!1,this.running=!1,this.inTimeout=!1,this.jumpingToLiveIgnoreBuffer=!1,this.timeoutTimer=0,this.checkTimer=0,this.bufferingCounter=0,this.bufferingTimer=0,this.playbackRate=1,this.lastJumpOccurred=null,this.startupTime=new Date,this.clockSkewMs=0,this.currentLatency=null,this.bufferedAtLatency=[],this.player.on("playing",this.handlePlaying.bind(this)),this.player.on("pause",this.handlePause.bind(this)),this.player.on("error",this.handleError.bind(this)),this.player.on("waiting",this.handleBuffering.bind(this)),this.player.on("stalled",this.handleBuffering.bind(this)),this.player.on("ended",this.handleEnded.bind(this)),this.player.on("canplaythrough",this.handlePlaying.bind(this)),this.player.on("canplay",this.handlePlaying.bind(this)),this.check=this.check.bind(this),this.start=this.start.bind(this),this.enable=this.enable.bind(this),this.countBufferingEvent=this.countBufferingEvent.bind(this)}},k=i(83360),w=i.n(k);let B="owncast_volume",C="latencyCompensatorEnabled",I=new class{start(){this.stop(),this.timer=setInterval(()=>{!function(){try{fetch("/api/ping")}catch(e){console.error(e)}}()},4e3)}stop(){clearInterval(this.timer)}},P=null,E=null,M=!1;async function j(){let e=[];try{let t=await fetch("/api/video/variants");e=await t.json()}catch(i){console.error(i)}return e}let x=e=>{let{source:t,online:i}=e,l=s.useRef(null),[o,h]=(0,r.FV)(y.We),u=(0,r.sJ)(y.g8),d=()=>{try{l.current.volume((0,p.$o)(B)||1)}catch(e){console.warn(e)}},m=()=>{(0,p.qQ)(B,l.current.muted()?0:l.current.volume())},f=()=>{l.current.paused()?l.current.play():l.current.pause()},k=()=>{l.current.muted()||0===l.current.volume()?l.current.volume(.7):l.current.volume(0)},x=()=>{l.current.isFullscreen()?l.current.exitFullscreen():l.current.requestFullscreen()},S=e=>{let t=document.querySelector(".latency-toggle-item > .vjs-menu-item-text");t&&(t.innerHTML=e)},L=()=>{E&&E.stop(),M=!0,(E=new v(l.current)).setClockSkew(u),E.enable(),(0,p.qQ)(C,!0),S("disable minimized latency")},D=()=>{E&&E.disable(),E=null,M=!1,(0,p.qQ)(C,!1),S('enable minimized latency (experimental)')},R=()=>{M?D():L()},N=e=>{let t=e.tech({IWillNotUseThisInPlugins:!0});if(!t||!t.vhs)return;let i=(0,p.$o)(C);"true"===i&&t&&t.vhs?L():D()},_=async(e,t)=>{let i=await j(),n=T(e,t,i,R);e.controlBar.addChild(n,{},e.controlBar.children_.length-2),N(e)},O=(e,t)=>{if(window.hasOwnProperty("WebKitPlaybackTargetAvailabilityEvent")){let i=t.getComponent("Button"),n=t.extend(i,{constructor(){i.call(this,e)},handleClick(){try{let e=document.getElementsByTagName("video")[0];e.webkitShowPlaybackTargetPicker()}catch(t){console.error(t)}}}),s=e.controlBar.addChild(new n);s.addClass("vjs-airplay")}};(0,a.y1)("space",e=>{e.preventDefault(),f()}),(0,a.y1)("f",x,{enableOnContentEditable:!1}),(0,a.y1)("m",k,{enableOnContentEditable:!1}),(0,a.y1)("0",()=>l.current.volume(l.current.volume()+.1),{enableOnContentEditable:!1}),(0,a.y1)("9",()=>l.current.volume(l.current.volume()-.1),{enableOnContentEditable:!1});let J=(e,t)=>{l.current=e,d(),O(e,t),e.on("waiting",()=>{console.debug("player is waiting")}),e.on("dispose",()=>{console.debug("player will dispose"),I.stop()}),e.on("playing",()=>{console.debug("player is playing"),I.start(),h(!0)}),e.on("pause",()=>{console.debug("player is paused"),I.stop(),h(!1)}),e.on("ended",()=>{console.debug("player is ended"),I.stop(),h(!1)}),t.hookOnce(),e.on("volumechange",m),(P=new b(e,t)).setClockSkew(u),_(e,t)};return(0,s.useEffect)(()=>{P&&P.setClockSkew(u)},[u]),(0,s.useEffect)(()=>()=>{D(),null==P||P.stop()},[]),(0,n.jsxs)("div",{className:w().container,children:[i&&(0,n.jsx)("div",{className:w().player,children:(0,n.jsx)(c,{options:{autoplay:!1,controls:!0,responsive:!0,fluid:!1,playsinline:!0,liveui:!0,preload:"auto",controlBar:{progressControl:{seekBar:!1}},html5:{vhs:{enableLowInitialPlaylist:!0,experimentalBufferBasedABR:!0,useNetworkInformationApi:!0,maxPlaylistRetries:30}},liveTracker:{trackingThreshold:0,liveTolerance:15},sources:[{src:t,type:"application/x-mpegURL"}]},onReady:J})}),(0,n.jsx)("div",{className:w().poster,children:!o&&(0,n.jsx)(g,{online:i,initialSrc:"/thumbnail.jpg",src:"/thumbnail.jpg"})})]})};var S=x},83360:function(e){e.exports={container:"OwncastPlayer_container__YfgRy",player:"OwncastPlayer_player__R7XKJ",poster:"OwncastPlayer_poster__8RqUC"}},76161:function(e){e.exports={player:"VideoJS_player__GT8FN"}},70034:function(e){e.exports={poster:"VideoPoster_poster__RDkSk"}},25893:function(){}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/2239-de44814eef43316f.js b/static/web/_next/static/chunks/2239-de44814eef43316f.js new file mode 100644 index 000000000..6b930eb4e --- /dev/null +++ b/static/web/_next/static/chunks/2239-de44814eef43316f.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2239],{8888:function(e,t,i){"use strict";i.r(t),i.d(t,{OwncastPlayer:function(){return x},default:function(){return S}});var n=i(85893),s=i(67294),r=i(4480),a=i(49218),l=i(85215),o=i(76161),h=i.n(o);i(27901);let c=e=>{let{options:t,onReady:i}=e,r=s.useRef(null),a=s.useRef(null);return s.useEffect(()=>{if(!a.current){let e=r.current,n=a.current=(0,l.Z)(e,t,()=>(console.debug("player is ready"),i&&i(n,l.Z)));n.autoplay(t.autoplay),n.src(t.sources)}l.Z.Vhs.xhr.beforeRequest=e=>{if(e.uri.match("m3u8")){let t=Math.random().toString(16).substr(2,8);e.uri="".concat(e.uri,"?cachebust=").concat(t)}return e}},[t,r]),(0,n.jsx)("div",{"data-vjs-player":!0,children:(0,n.jsx)("video",{ref:r,className:"video-js vjs-big-play-centered vjs-show-big-play-button-on-pause ".concat(h().player," vjs-owncast")})})},u={position:"absolute",width:"100%",height:"100%"},d=e=>{let{src:t="",width:i,height:r,objectFit:a="fill",duration:l="1s"}=e,o=(0,s.useMemo)(()=>({display:"inline-block",position:"relative",width:i,height:r}),[i,r]),h=(0,s.useMemo)(()=>[{...u,objectFit:a,opacity:0,transition:"opacity ".concat(l)},{...u,objectFit:a,opacity:1,transition:"opacity ".concat(l)},{...u,objectFit:a,opacity:0}],[a,l]),[c,d]=(0,s.useState)(0),[m,f]=(0,s.useState)(["",""]),g=t!==m[1]?t:"",p=()=>{d((c+1)%3),f([m[1],g])};return(0,n.jsx)("span",{style:o,children:[...m,g].map((e,t)=>""!==e&&(0,n.jsx)("img",{src:e,alt:"",style:h[t],onLoad:2===t?p:void 0},e))})};d.defaultProps={objectFit:"fill",duration:"3s"};var m=i(70034),f=i.n(m);let g=e=>{let t,{online:i,initialSrc:r,src:a}=e,[l,o]=(0,s.useState)(r),[h,c]=(0,s.useState)("0s");return(0,s.useEffect)(()=>{clearInterval(t),t=setInterval(()=>{"0s"===h&&c("3s"),o("".concat(a,"?").concat(Date.now()))},2e4)},[]),(0,n.jsxs)("div",{className:f().poster,children:[!i&&(0,n.jsx)("img",{src:r,alt:"logo"}),i&&(0,n.jsx)(d,{src:l,duration:h,objectFit:"cover",width:"100%",height:"100%"})]})};var p=i(72581),y=i(77466),b=class{stop(){clearInterval(this.sendMetricsTimer),this.player.off()}setClockSkew(e){this.clockSkewMs=e}videoJSReady(){let e=this.player.tech({IWillNotUseThisInPlugins:!0});this.supportsDetailedMetrics=!!e,e.on("usage",e=>{"vhs-unknown-waiting"===e.name&&this.setIsBuffering(!0),"vhs-rendition-change-abr"===e.name&&this.incrementQualityVariantChanges()});let t=this.player.textTracks();t.addEventListener("cuechange",()=>{this.incrementQualityVariantChanges()})}handlePlaying(){clearInterval(this.collectPlaybackMetricsTimer),this.collectPlaybackMetricsTimer=setInterval(()=>{this.collectPlaybackMetrics()},5e3)}handleEnded(){clearInterval(this.collectPlaybackMetricsTimer)}handleBuffering(){this.incrementErrorCount(1),this.setIsBuffering(!0)}handleNoLongerBuffering(){this.setIsBuffering(!1)}handleError(){this.incrementErrorCount(1)}incrementErrorCount(e){this.errors+=e}incrementQualityVariantChanges(){if(!this.hasPerformedInitialVariantChange){this.hasPerformedInitialVariantChange=!0;return}this.qualityVariantChanges++}setIsBuffering(e){if(this.isBuffering=e,!e){clearTimeout(this.bufferingDurationTimer);return}this.bufferingDurationTimer=setTimeout(()=>{this.incrementErrorCount(1)},500)}trackSegmentDownloadTime(e){this.segmentDownloadTime.push(e)}trackBandwidth(e){this.bandwidthTracking.push(e)}trackLatency(e){this.latencyTracking.push(e)}collectPlaybackMetrics(){let e=this.player.tech({IWillNotUseThisInPlugins:!0});if(!e||!e.vhs||this.player.paused())return;let t=this.player.networkState();if(2!==t)return;let i=e.vhs.systemBandwidth;this.trackBandwidth(i);try{let n=function(e){let t;let i=e.vhs.playlists.media(),n=e.currentTime();for(let s=0,r=i.segments.length;s=40)return;this.trackLatency(a)}catch(l){console.warn(l)}}async send(){let e;if(0===this.segmentDownloadTime.length||!this.player||this.player.paused())return;let t=this.errors;if(this.supportsDetailedMetrics){let i=e=>e.reduce((e,t)=>e+t,0)/e.length,n=i(this.segmentDownloadTime)/1e3,s=i(this.bandwidthTracking)/1e3,r=i(this.latencyTracking)/1e3;e={bandwidth:Math.round(1e3*s)/1e3,latency:Math.round(1e3*r)/1e3,downloadDuration:Math.round(1e3*n)/1e3,errors:t+(this.isBuffering?1:0),qualityVariantChanges:this.qualityVariantChanges}}else e={errors:t+(this.isBuffering?1:0)};this.errors=0,this.qualityVariantChanges=0,this.segmentDownloadTime=[],this.bandwidthTracking=[],this.latencyTracking=[];let a={method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)};try{await fetch("/api/metrics/playback",a)}catch(l){console.error(l)}}constructor(e,t){var i=this;this.player=e,this.supportsDetailedMetrics=!1,this.hasPerformedInitialVariantChange=!1,this.clockSkewMs=0,this.segmentDownloadTime=[],this.bandwidthTracking=[],this.latencyTracking=[],this.errors=0,this.qualityVariantChanges=0,this.isBuffering=!1,this.bufferingDurationTimer=0,this.collectPlaybackMetricsTimer=0,this.videoJSReady=this.videoJSReady.bind(this),this.handlePlaying=this.handlePlaying.bind(this),this.handleBuffering=this.handleBuffering.bind(this),this.handleEnded=this.handleEnded.bind(this),this.handleError=this.handleError.bind(this),this.send=this.send.bind(this),this.collectPlaybackMetrics=this.collectPlaybackMetrics.bind(this),this.handleNoLongerBuffering=this.handleNoLongerBuffering.bind(this),this.sendMetricsTimer=0,this.player.on("canplaythrough",this.handleNoLongerBuffering),this.player.on("error",this.handleError),this.player.on("stalled",this.handleBuffering),this.player.on("waiting",this.handleBuffering),this.player.on("playing",this.handlePlaying),this.player.on("ended",this.handleEnded);let n=t.xhr;t.Vhs.xhr=function(){for(var e=arguments.length,t=Array(e),s=0;s{let s=new Date,l=s.getTime()-r.getTime();i.trackSegmentDownloadTime(l),a(e,t,n)}}return n(...t)},this.videoJSReady(),this.sendMetricsTimer=setInterval(()=>{this.send()},1e4)}},T=function(e,t,i,n){let s=t.getComponent("MenuItem"),r=t.getComponent("MenuItem"),a=t.getComponent("MenuButton"),l=new r(e,{selectable:!0});l.setAttribute("class","latency-toggle-item"),l.on("click",()=>{n()});let o=new class extends s{createEl(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"button",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=super.createEl(e,t,i);return n.innerHTML='
',n}constructor(e,t){super(e,t)}}(e,{selectable:!1});class h extends a{createItems(){let t=e.tech({IWillNotUseThisInPlugins:!0}),n=new r(e,{selectable:!0,label:"Auto"}),s=i.map(i=>{let n=new r(e,{selectable:!0,label:i.name});return n.on("click",()=>{if(!t){console.warn("Invalid attempt to access null player tech");return}t.vhs.representations().forEach((e,t)=>{e.enabled(t===i.index)}),n.selected(!1)}),n});n.on("click",()=>{t.vhs.representations().forEach(e=>{e.enabled(!0)}),n.selected(!1)});let a=!!t&&!!t.vhs;return i.length<2&&a?[l]:i.length>1&&a?[n,...s,o,l]:a||1!==i.length?[n,...s]:[]}constructor(){super(e)}}let c=new h,u=e.tech({IWillNotUseThisInPlugins:!0});return c.addClass("vjs-quality-selector"),t.registerComponent("MenuButton",h),u.vhs&&i.length<2&&u&&u.vhs,c},v=class{setClockSkew(e){this.clockSkewMs=e}check(){if(new Date().getTime()-this.startupTime.getTime()<1e4||this.player.paused()||this.player.seeking()||this.inTimeout||!this.enabled)return;let e=this.player.tech({IWillNotUseThisInPlugins:!0});if(!e||!e.vhs)return;let t=this.player.networkState();if(2!==t)return;let i=0;try{if(0===e.vhs.stats.buffered.length){this.timeout();return}e.vhs.stats.buffered.forEach(e=>{i+=e.end-e.start})}catch(n){console.error(n)}let s=e.vhs.playlists.media(),r=s.attributes.BANDWIDTH,a=e.vhs.systemBandwidth,l=a/r;try{let o=function(e){let t;let i=e.vhs.playlists.media(),n=e.currentTime();for(let s=0,r=i.segments.length;se+t,0)/c.length,d=Math.max(1.4*u,Math.min(1e3*o.duration*2.6,15e3));u>=d&&(d=u+3e3);let m=o.dateTimeObject.getTime(),f=new Date().getTime()+this.clockSkewMs,g=f-m;if(this.currentLatency=g,Math.abs(g)>8e4){this.timeout();return}if(g>d){if(this.shouldJumpToLive()&&g>d+5e3){let p=g/1e3-3*o.duration,y=this.player.currentTime()+p;console.info("latency",g/1e3,"jumping",p,"to live from ",this.player.currentTime()," to ",y);let b=e.vhs.stats.buffered[0].end,T=e.vhs.stats.buffered[0].start;if(y>Tthis.playbackRate+.02&&(v=this.playbackRate+.02),v=Math.round(1e3*v)/1e3,this.start(v)}else g<=u&&this.stop();console.info("latency",g/1e3,"min",u/1e3,"max",d/1e3,"playback rate",this.playbackRate,"enabled:",this.enabled,"running: ",this.running,"skew: ",this.clockSkewMs,"rebuffer events: ",this.bufferingCounter)}catch(k){}}shouldJumpToLive(){if(this.bufferingCounter>1)return!1;let e=new Date().getTime(),t=e-this.lastJumpOccurred;return t>2e4}jump(e){this.jumpingToLiveIgnoreBuffer=!0,this.performedInitialLiveJump=!0,this.lastJumpOccurred=new Date,console.info("current time",this.player.currentTime(),"seeking to",e),this.player.currentTime(e),setTimeout(()=>{this.jumpingToLiveIgnoreBuffer=!1},5e3)}setPlaybackRate(e){this.playbackRate=e,this.player.playbackRate(e)}start(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;!this.inTimeout&&this.enabled&&e!==this.playbackRate&&(this.running=!0,this.setPlaybackRate(e))}stop(){this.running&&console.log("stopping latency compensator..."),this.running=!1,this.setPlaybackRate(1)}enable(){this.enabled=!0,clearInterval(this.checkTimer),clearTimeout(this.bufferingTimer),this.checkTimer=setInterval(()=>{this.check()},3e3)}disable(){clearInterval(this.checkTimer),clearTimeout(this.timeoutTimer),this.stop(),this.enabled=!1}timeout(){this.jumpingToLiveIgnoreBuffer||(this.inTimeout=!0,this.stop(),clearTimeout(this.timeoutTimer),this.timeoutTimer=setTimeout(()=>{this.endTimeout()},3e4))}endTimeout(){clearTimeout(this.timeoutTimer),this.inTimeout=!1}handlePlaying(){let e=this.playing;this.playing=!0,clearTimeout(this.bufferingTimer),this.enabled&&this.shouldJumpToLive()&&(e||(this.jumpingToLiveIgnoreBuffer=!0,this.player.liveTracker.seekToLiveEdge(),this.lastJumpOccurred=new Date))}handlePause(){this.playing=!1}handleEnded(){this.enabled&&this.disable()}handleError(){this.enabled&&this.timeout()}countBufferingEvent(){if(this.bufferingCounter+=1,this.bufferingCounter>4){this.disable();return}this.bufferedAtLatency.push(this.currentLatency),console.log("latency compensation timeout due to buffering:",this.bufferingCounter,"buffering events of",4),setTimeout(()=>{this.bufferingCounter>0&&(this.bufferingCounter-=1)},18e4)}handleBuffering(){if(this.enabled&&!this.inTimeout){if(this.jumpingToLiveIgnoreBuffer){this.jumpingToLiveIgnoreBuffer=!1;return}this.timeout(),clearTimeout(this.bufferingTimer),this.bufferingTimer=setTimeout(()=>{this.countBufferingEvent()},200)}}constructor(e){this.player=e,this.playing=!1,this.enabled=!1,this.running=!1,this.inTimeout=!1,this.jumpingToLiveIgnoreBuffer=!1,this.timeoutTimer=0,this.checkTimer=0,this.bufferingCounter=0,this.bufferingTimer=0,this.playbackRate=1,this.lastJumpOccurred=null,this.startupTime=new Date,this.clockSkewMs=0,this.currentLatency=null,this.bufferedAtLatency=[],this.player.on("playing",this.handlePlaying.bind(this)),this.player.on("pause",this.handlePause.bind(this)),this.player.on("error",this.handleError.bind(this)),this.player.on("waiting",this.handleBuffering.bind(this)),this.player.on("stalled",this.handleBuffering.bind(this)),this.player.on("ended",this.handleEnded.bind(this)),this.player.on("canplaythrough",this.handlePlaying.bind(this)),this.player.on("canplay",this.handlePlaying.bind(this)),this.check=this.check.bind(this),this.start=this.start.bind(this),this.enable=this.enable.bind(this),this.countBufferingEvent=this.countBufferingEvent.bind(this)}},k=i(83360),w=i.n(k);let B="owncast_volume",C="latencyCompensatorEnabled",I=new class{start(){this.stop(),this.timer=setInterval(()=>{!function(){try{fetch("/api/ping")}catch(e){console.error(e)}}()},4e3)}stop(){clearInterval(this.timer)}},P=null,E=null,M=!1;async function j(){let e=[];try{let t=await fetch("/api/video/variants");e=await t.json()}catch(i){console.error(i)}return e}let x=e=>{let{source:t,online:i}=e,l=s.useRef(null),[o,h]=(0,r.FV)(y.We),u=(0,r.sJ)(y.g8),d=()=>{try{l.current.volume((0,p.$o)(B)||1)}catch(e){console.warn(e)}},m=()=>{(0,p.qQ)(B,l.current.muted()?0:l.current.volume())},f=()=>{l.current.paused()?l.current.play():l.current.pause()},k=()=>{l.current.muted()||0===l.current.volume()?l.current.volume(.7):l.current.volume(0)},x=()=>{l.current.isFullscreen()?l.current.exitFullscreen():l.current.requestFullscreen()},S=e=>{let t=document.querySelector(".latency-toggle-item > .vjs-menu-item-text");t&&(t.innerHTML=e)},L=()=>{E&&E.stop(),M=!0,(E=new v(l.current)).setClockSkew(u),E.enable(),(0,p.qQ)(C,!0),S("disable minimized latency")},D=()=>{E&&E.disable(),E=null,M=!1,(0,p.qQ)(C,!1),S('enable minimized latency (experimental)')},R=()=>{M?D():L()},N=e=>{let t=e.tech({IWillNotUseThisInPlugins:!0});if(!t||!t.vhs)return;let i=(0,p.$o)(C);"true"===i&&t&&t.vhs?L():D()},_=async(e,t)=>{let i=await j(),n=T(e,t,i,R);e.controlBar.addChild(n,{},e.controlBar.children_.length-2),N(e)},O=(e,t)=>{if(window.hasOwnProperty("WebKitPlaybackTargetAvailabilityEvent")){let i=t.getComponent("Button"),n=new class extends i{handleClick(){try{let e=document.getElementsByTagName("video")[0];e.webkitShowPlaybackTargetPicker()}catch(t){console.error(t)}}constructor(){super(e)}},s=e.controlBar.addChild(n);s.addClass("vjs-airplay")}};(0,a.y1)("space",e=>{e.preventDefault(),f()}),(0,a.y1)("f",x,{enableOnContentEditable:!1}),(0,a.y1)("m",k,{enableOnContentEditable:!1}),(0,a.y1)("0",()=>l.current.volume(l.current.volume()+.1),{enableOnContentEditable:!1}),(0,a.y1)("9",()=>l.current.volume(l.current.volume()-.1),{enableOnContentEditable:!1});let J=(e,t)=>{l.current=e,d(),O(e,t),e.on("waiting",()=>{console.debug("player is waiting")}),e.on("dispose",()=>{console.debug("player will dispose"),I.stop()}),e.on("playing",()=>{console.debug("player is playing"),I.start(),h(!0)}),e.on("pause",()=>{console.debug("player is paused"),I.stop(),h(!1)}),e.on("ended",()=>{console.debug("player is ended"),I.stop(),h(!1)}),t.hookOnce(),e.on("volumechange",m),(P=new b(e,t)).setClockSkew(u),_(e,t)};return(0,s.useEffect)(()=>{P&&P.setClockSkew(u)},[u]),(0,s.useEffect)(()=>()=>{D(),null==P||P.stop()},[]),(0,n.jsxs)("div",{className:w().container,children:[i&&(0,n.jsx)("div",{className:w().player,children:(0,n.jsx)(c,{options:{autoplay:!1,controls:!0,responsive:!0,fluid:!1,playsinline:!0,liveui:!0,preload:"auto",controlBar:{progressControl:{seekBar:!1}},html5:{vhs:{enableLowInitialPlaylist:!0,experimentalBufferBasedABR:!0,useNetworkInformationApi:!0,maxPlaylistRetries:30}},liveTracker:{trackingThreshold:0,liveTolerance:15},sources:[{src:t,type:"application/x-mpegURL"}]},onReady:J})}),(0,n.jsx)("div",{className:w().poster,children:!o&&(0,n.jsx)(g,{online:i,initialSrc:"/thumbnail.jpg",src:"/thumbnail.jpg"})})]})};var S=x},83360:function(e){e.exports={container:"OwncastPlayer_container__YfgRy",player:"OwncastPlayer_player__R7XKJ",poster:"OwncastPlayer_poster__8RqUC"}},76161:function(e){e.exports={player:"VideoJS_player__GT8FN"}},70034:function(e){e.exports={poster:"VideoPoster_poster__RDkSk"}},25893:function(){}}]); \ No newline at end of file diff --git a/static/web/_next/static/chunks/webpack-a02c8a85a6a35271.js b/static/web/_next/static/chunks/webpack-5d3bf4253a4c6954.js similarity index 99% rename from static/web/_next/static/chunks/webpack-a02c8a85a6a35271.js rename to static/web/_next/static/chunks/webpack-5d3bf4253a4c6954.js index 46ed74ba3..5f61966a1 100644 --- a/static/web/_next/static/chunks/webpack-a02c8a85a6a35271.js +++ b/static/web/_next/static/chunks/webpack-5d3bf4253a4c6954.js @@ -1 +1 @@ -!function(){"use strict";var e,t,c,a,f,d,n,r,b,o,u,i,s={},l={};function h(e){var t=l[e];if(void 0!==t)return t.exports;var c=l[e]={id:e,loaded:!1,exports:{}},a=!0;try{s[e].call(c.exports,c,c.exports,h),a=!1}finally{a&&delete l[e]}return c.loaded=!0,c.exports}h.m=s,h.amdO={},e=[],h.O=function(t,c,a,f){if(c){f=f||0;for(var d=e.length;d>0&&e[d-1][2]>f;d--)e[d]=e[d-1];e[d]=[c,a,f];return}for(var n=1/0,d=0;d=f&&Object.keys(h.O).every(function(e){return h.O[e](c[b])})?c.splice(b--,1):(r=!1,f0&&e[d-1][2]>f;d--)e[d]=e[d-1];e[d]=[c,a,f];return}for(var n=1/0,d=0;d=f&&Object.keys(h.O).every(function(e){return h.O[e](c[b])})?c.splice(b--,1):(r=!1,fOwncast Admin

What is your stream about today?

What is your stream about today?
Offline

Access Tokens

Access tokens are used to allow external, 3rd party tools to perform specific actions on your Owncast server. They should be kept secure and never included in client code, instead they should be kept on a server that you control.
Read more about how to use these tokens, with examples, at our documentation.
NameTokenScopesLast Used
No data

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Access Tokens

Access tokens are used to allow external, 3rd party tools to perform specific actions on your Owncast server. They should be kept secure and never included in client code, instead they should be kept on a server that you control.
Read more about how to use these tokens, with examples, at our documentation.
NameTokenScopesLast Used
No data

\ No newline at end of file diff --git a/static/web/admin/actions/index.html b/static/web/admin/actions/index.html index 9281405cb..aea4f210e 100644 --- a/static/web/admin/actions/index.html +++ b/static/web/admin/actions/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

External Actions

External action URLs are 3rd party UI you can display, embedded, into your Owncast page when a user clicks on a button to launch your action.
Read more about how to use actions, with examples, at our documentation.
NameDescriptionURLIconColorOpens
No data

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

External Actions

External action URLs are 3rd party UI you can display, embedded, into your Owncast page when a user clicks on a button to launch your action.
Read more about how to use actions, with examples, at our documentation.
NameDescriptionURLIconColorOpens
No data

\ No newline at end of file diff --git a/static/web/admin/chat/emojis/index.html b/static/web/admin/chat/emojis/index.html index 684d6d518..ff588fb36 100644 --- a/static/web/admin/chat/emojis/index.html +++ b/static/web/admin/chat/emojis/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Emojis

Here you can upload new custom emojis for usage in the chat. When uploading a new emoji, the filename will be used as emoji name.
NameEmoji
No data

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Emojis

Here you can upload new custom emojis for usage in the chat. When uploading a new emoji, the filename will be used as emoji name.
NameEmoji
No data

\ No newline at end of file diff --git a/static/web/admin/chat/messages/index.html b/static/web/admin/chat/messages/index.html index 7ce05cc87..13d6a495c 100644 --- a/static/web/admin/chat/messages/index.html +++ b/static/web/admin/chat/messages/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Chat Messages

Manage the messages from viewers that show up on your stream.

Check multiple messages to change their visibility to:
Time
User
Message
No data
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Chat Messages

Manage the messages from viewers that show up on your stream.

Check multiple messages to change their visibility to:
Time
User
Message
No data
\ No newline at end of file diff --git a/static/web/admin/chat/users/index.html b/static/web/admin/chat/users/index.html index 9a3682ecd..c3de0dc30 100644 --- a/static/web/admin/chat/users/index.html +++ b/static/web/admin/chat/users/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

When a stream is active and chat is enabled, connected chat clients will be displayed here.

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

When a stream is active and chat is enabled, connected chat clients will be displayed here.

\ No newline at end of file diff --git a/static/web/admin/config-chat/index.html b/static/web/admin/config-chat/index.html index 4a5d29bff..bdff96329 100644 --- a/static/web/admin/config-chat/index.html +++ b/static/web/admin/config-chat/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline
\ No newline at end of file diff --git a/static/web/admin/config-federation/index.html b/static/web/admin/config-federation/index.html index 9b3161b79..886654ef3 100644 --- a/static/web/admin/config-federation/index.html +++ b/static/web/admin/config-federation/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline
\ No newline at end of file diff --git a/static/web/admin/config-notify/index.html b/static/web/admin/config-notify/index.html index f5ded7cb7..3718e44ce 100644 --- a/static/web/admin/config-notify/index.html +++ b/static/web/admin/config-notify/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Notifications

Let your viewers know when you go live by supporting any of the below notification channels. Learn more about live notifications.


The full url to your Owncast server is required to enable social features. Must use SSL (https). Once people start following your instance you should not change this.

The full url to your Owncast server is required to enable social features. Must use SSL (https). Once people start following your instance you should not change this.

Browser Alerts

Viewers can opt into being notified when you go live with their browser.

Not all browsers support this.

Enable browser notifications

The text to send when you go live.

Twitter

Let your Twitter followers know each time you go live.

Enable Twitter

The text to send when you go live.

Discord

Let your Discord channel know each time you go live.

Create a webhook under Edit Channel / Integrations on your Discord channel and provide it below.

Enable Discord

The webhook assigned to your channel.

The text to send when you go live.

Fediverse Social

Enabling the Fediverse social features will not just alert people to when you go live, but also enable other functionality.

Fediverse social features: Disabled

Custom

Build your own notifications by using custom webhooks.

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Notifications

Let your viewers know when you go live by supporting any of the below notification channels. Learn more about live notifications.


The full url to your Owncast server is required to enable social features. Must use SSL (https). Once people start following your instance you should not change this.

The full url to your Owncast server is required to enable social features. Must use SSL (https). Once people start following your instance you should not change this.

Browser Alerts

Viewers can opt into being notified when you go live with their browser.

Not all browsers support this.

Enable browser notifications

The text to send when you go live.

Twitter

Let your Twitter followers know each time you go live.

Enable Twitter

The text to send when you go live.

Discord

Let your Discord channel know each time you go live.

Create a webhook under Edit Channel / Integrations on your Discord channel and provide it below.

Enable Discord

The webhook assigned to your channel.

The text to send when you go live.

Fediverse Social

Enabling the Fediverse social features will not just alert people to when you go live, but also enable other functionality.

Fediverse social features: Disabled

Custom

Build your own notifications by using custom webhooks.

\ No newline at end of file diff --git a/static/web/admin/config-public-details/index.html b/static/web/admin/config-public-details/index.html index 23edec744..ecd637a61 100644 --- a/static/web/admin/config-public-details/index.html +++ b/static/web/admin/config-public-details/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

General Settings

The following are displayed on your site to describe your stream and its content. Learn more.

Custom Page Content

Edit the content of your page by using simple Markdown syntax.


\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

General Settings

The following are displayed on your site to describe your stream and its content. Learn more.

Custom Page Content

Edit the content of your page by using simple Markdown syntax.


\ No newline at end of file diff --git a/static/web/admin/config-server-details/index.html b/static/web/admin/config-server-details/index.html index 56cf7116a..4bf21bd15 100644 --- a/static/web/admin/config-server-details/index.html +++ b/static/web/admin/config-server-details/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Server Settings

You should change your stream key from the default and keep it safe. For most people it's likely the other settings will not need to be changed.

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Server Settings

You should change your stream key from the default and keep it safe. For most people it's likely the other settings will not need to be changed.

\ No newline at end of file diff --git a/static/web/admin/config-social-items/index.html b/static/web/admin/config-social-items/index.html index 262a35950..d1dd3e5da 100644 --- a/static/web/admin/config-social-items/index.html +++ b/static/web/admin/config-social-items/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Social Items

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Social Items

\ No newline at end of file diff --git a/static/web/admin/config-storage/index.html b/static/web/admin/config-storage/index.html index eb2d98847..5691486eb 100644 --- a/static/web/admin/config-storage/index.html +++ b/static/web/admin/config-storage/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Storage

Owncast supports optionally using external storage providers to stream your video. Learn more about this by visiting our Storage Documentation.

Configuring this incorrectly will likely cause your video to be unplayable. Double check the documentation for your storage provider on how to configure the bucket you created for Owncast.

Keep in mind this is for live streaming, not for archival, recording or VOD purposes.

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Storage

Owncast supports optionally using external storage providers to stream your video. Learn more about this by visiting our Storage Documentation.

Configuring this incorrectly will likely cause your video to be unplayable. Double check the documentation for your storage provider on how to configure the bucket you created for Owncast.

Keep in mind this is for live streaming, not for archival, recording or VOD purposes.

\ No newline at end of file diff --git a/static/web/admin/config-video/index.html b/static/web/admin/config-video/index.html index 412d6ec87..d16622680 100644 --- a/static/web/admin/config-video/index.html +++ b/static/web/admin/config-video/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Video configuration

Before changing your video configuration visit the video documentation to learn how it impacts your stream performance. The general rule is to start conservatively by having one middle quality stream output variant and experiment with adding more of varied qualities.

Stream output

NameVideo bitrateCPU Usage
No name800 kbpsMedium

Latency Buffer

While it's natural to want to keep your latency as low as possible, you may experience reduced error tolerance and stability the lower you go. The lowest setting is not recommended.

For interactive live streams you may want to experiment with a lower latency, for non-interactive broadcasts you may want to increase it. Read to learn more.

LowestHighest

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Video configuration

Before changing your video configuration visit the video documentation to learn how it impacts your stream performance. The general rule is to start conservatively by having one middle quality stream output variant and experiment with adding more of varied qualities.

Stream output

NameVideo bitrateCPU Usage
No name800 kbpsMedium

Latency Buffer

While it's natural to want to keep your latency as low as possible, you may experience reduced error tolerance and stability the lower you go. The lowest setting is not recommended.

For interactive live streams you may want to experiment with a lower latency, for non-interactive broadcasts you may want to increase it. Read to learn more.

LowestHighest

\ No newline at end of file diff --git a/static/web/admin/config/appearance/index.html b/static/web/admin/config/appearance/index.html index 010bd6390..36332766a 100644 --- a/static/web/admin/config/appearance/index.html +++ b/static/web/admin/config/appearance/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline
Loading...
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline
Loading...
\ No newline at end of file diff --git a/static/web/admin/config/streamkeys/index.html b/static/web/admin/config/streamkeys/index.html index e3faf6dc0..7f7474c78 100644 --- a/static/web/admin/config/streamkeys/index.html +++ b/static/web/admin/config/streamkeys/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Streaming Keys

A streaming key is used with your broadcasting software to authenticate itself to Owncast. Most people will only need one. However, if you share a server with others or you want different keys for different broadcasting sources you can add more here.
These keys are unrelated to the admin password and will not grant you access to make changes to Owncast's configuration.
Read more about broadcasting at the documentation.
KeyComment
No data

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Streaming Keys

A streaming key is used with your broadcasting software to authenticate itself to Owncast. Most people will only need one. However, if you share a server with others or you want different keys for different broadcasting sources you can add more here.
These keys are unrelated to the admin password and will not grant you access to make changes to Owncast's configuration.
Read more about broadcasting at the documentation.
KeyComment
No data

\ No newline at end of file diff --git a/static/web/admin/federation/actions/index.html b/static/web/admin/federation/actions/index.html index 56fb6f4b7..07c23ea30 100644 --- a/static/web/admin/federation/actions/index.html +++ b/static/web/admin/federation/actions/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Fediverse Actions

Below is a list of actions that were taken by others in response to your posts as well as people who requested to follow you.
ActionFromWhen
No data
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Fediverse Actions

Below is a list of actions that were taken by others in response to your posts as well as people who requested to follow you.
ActionFromWhen
No data
\ No newline at end of file diff --git a/static/web/admin/federation/followers/index.html b/static/web/admin/federation/followers/index.html index 47295ce45..82de711ea 100644 --- a/static/web/admin/federation/followers/index.html +++ b/static/web/admin/federation/followers/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

The following accounts get notified when you go live or send a post.

NameURL
Added
Remove
No data
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

The following accounts get notified when you go live or send a post.

NameURL
Added
Remove
No data
\ No newline at end of file diff --git a/static/web/admin/hardware-info/index.html b/static/web/admin/hardware-info/index.html index 284f1f70d..37cd70ea7 100644 --- a/static/web/admin/hardware-info/index.html +++ b/static/web/admin/hardware-info/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Hardware Info


CPU
0%
Memory
0%
Disk
0%
Loading...
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Hardware Info


CPU
0%
Memory
0%
Disk
0%
Loading...
\ No newline at end of file diff --git a/static/web/admin/help/index.html b/static/web/admin/help/index.html index e3c22b885..90fc10ffb 100644 --- a/static/web/admin/help/index.html +++ b/static/web/admin/help/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

How can we help you?

Troubleshooting

Fix your problems

Documentation

Read the Docs

Common tasks

I want to configure my owncast instance
Help configuring my broadcasting software
I want to embed my stream into another site
I want to customize my website
I want to tweak my video output
I want to use an external storage provider

Other

I found a bug
If you found a bug, then please let us know
I have a general question
Most general questions are answered in our FAQ or exist in our discussions
I want to build add-ons for Owncast
You can build your own bots, overlays, tools and add-ons with our developer APIs. 
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

How can we help you?

Troubleshooting

Fix your problems

Documentation

Read the Docs

Common tasks

I want to configure my owncast instance
Help configuring my broadcasting software
I want to embed my stream into another site
I want to customize my website
I want to tweak my video output
I want to use an external storage provider

Other

I found a bug
If you found a bug, then please let us know
I have a general question
Most general questions are answered in our FAQ or exist in our discussions
I want to build add-ons for Owncast
You can build your own bots, overlays, tools and add-ons with our developer APIs. 
\ No newline at end of file diff --git a/static/web/admin/index.html b/static/web/admin/index.html index 487153998..27814a792 100644 --- a/static/web/admin/index.html +++ b/static/web/admin/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

No stream is active

You should start one.

Chat is disabled
Chat will continue to be disabled until you begin a live stream.
Find an audience on the Owncast Directory
List yourself in the Owncast Directory and show off your stream. Enable it in settings.
fediverse
Add your Owncast instance to the Fediverse
Enable Owncast social features to have your instance join the Fediverse, allowing people to follow, share and engage with your live stream.

News & Updates from Owncast

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

No stream is active

You should start one.

Chat is disabled
Chat will continue to be disabled until you begin a live stream.
Find an audience on the Owncast Directory
List yourself in the Owncast Directory and show off your stream. Enable it in settings.
fediverse
Add your Owncast instance to the Fediverse
Enable Owncast social features to have your instance join the Fediverse, allowing people to follow, share and engage with your live stream.

News & Updates from Owncast

\ No newline at end of file diff --git a/static/web/admin/logs/index.html b/static/web/admin/logs/index.html index aa0357f32..6375db608 100644 --- a/static/web/admin/logs/index.html +++ b/static/web/admin/logs/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline
\ No newline at end of file diff --git a/static/web/admin/stream-health/index.html b/static/web/admin/stream-health/index.html index ad7effd8f..72b451afb 100644 --- a/static/web/admin/stream-health/index.html +++ b/static/web/admin/stream-health/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Stream Performance

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Stream Performance

\ No newline at end of file diff --git a/static/web/admin/upgrade/index.html b/static/web/admin/upgrade/index.html index ce422644a..23839af86 100644 --- a/static/web/admin/upgrade/index.html +++ b/static/web/admin/upgrade/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Thu Jan 01 1970

Downloads

NameSize
No data
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Thu Jan 01 1970

Downloads

NameSize
No data
\ No newline at end of file diff --git a/static/web/admin/viewer-info/index.html b/static/web/admin/viewer-info/index.html index 60b759c2a..99cb9cbc4 100644 --- a/static/web/admin/viewer-info/index.html +++ b/static/web/admin/viewer-info/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Viewer Info


Max viewers last stream
0
All-time max viewers
0
User AgentLocation
Watch Time
No data
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Viewer Info


Max viewers last stream
0
All-time max viewers
0
User AgentLocation
Watch Time
No data
\ No newline at end of file diff --git a/static/web/admin/webhooks/index.html b/static/web/admin/webhooks/index.html index 91df49723..08c22312c 100644 --- a/static/web/admin/webhooks/index.html +++ b/static/web/admin/webhooks/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Webhooks

A webhook is a callback made to an external API in response to an event that takes place within Owncast. This can be used to build chat bots or sending automatic notifications that you've started streaming.
Read more about how to use webhooks, with examples, at our documentation.
URLEvents
No data

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Webhooks

A webhook is a callback made to an external API in response to an event that takes place within Owncast. This can be used to build chat bots or sending automatic notifications that you've started streaming.
Read more about how to use webhooks, with examples, at our documentation.
URLEvents
No data

\ No newline at end of file diff --git a/static/web/embed/chat/readonly/index.html b/static/web/embed/chat/readonly/index.html index 591b30a55..ab841e2e8 100644 --- a/static/web/embed/chat/readonly/index.html +++ b/static/web/embed/chat/readonly/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/static/web/embed/chat/readwrite/index.html b/static/web/embed/chat/readwrite/index.html index e5484565c..f4ee49f73 100644 --- a/static/web/embed/chat/readwrite/index.html +++ b/static/web/embed/chat/readwrite/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/static/web/embed/video/index.html b/static/web/embed/video/index.html index 3f7f2fc63..2174946d8 100644 --- a/static/web/embed/video/index.html +++ b/static/web/embed/video/index.html @@ -1 +1 @@ -
This stream is offline. Check back soon!
\ No newline at end of file +
This stream is offline. Check back soon!
\ No newline at end of file diff --git a/static/web/index.html b/static/web/index.html index bc8cc4c74..2bc0d301b 100644 --- a/static/web/index.html +++ b/static/web/index.html @@ -1,9 +1,9 @@ {{.Name}}
{{.Name}}

Logo
Preview
\ No newline at end of file +

Logo
Preview
\ No newline at end of file