diff --git a/static/web/404.html b/static/web/404.html index 32bb43e1e..91787a4a7 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 32bb43e1e..91787a4a7 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/chunks/2239-de44814eef43316f.js b/static/web/_next/static/chunks/2239-7875466ac1c30111.js similarity index 79% rename from static/web/_next/static/chunks/2239-de44814eef43316f.js rename to static/web/_next/static/chunks/2239-7875466ac1c30111.js index 6b930eb4e..5dbdd16d0 100644 --- a/static/web/_next/static/chunks/2239-de44814eef43316f.js +++ b/static/web/_next/static/chunks/2239-7875466ac1c30111.js @@ -1 +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 +(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,initiallyMuted:l=!1}=e,o=s.useRef(null),[h,u]=(0,r.FV)(y.We),d=(0,r.sJ)(y.g8),m=()=>{try{o.current.volume((0,p.$o)(B)||1)}catch(e){console.warn(e)}},f=()=>{(0,p.qQ)(B,o.current.muted()?0:o.current.volume())},k=()=>{o.current.paused()?o.current.play():o.current.pause()},x=()=>{o.current.muted()||0===o.current.volume()?o.current.volume(.7):o.current.volume(0)},S=()=>{o.current.isFullscreen()?o.current.exitFullscreen():o.current.requestFullscreen()},L=e=>{let t=document.querySelector(".latency-toggle-item > .vjs-menu-item-text");t&&(t.innerHTML=e)},D=()=>{E&&E.stop(),M=!0,(E=new v(o.current)).setClockSkew(d),E.enable(),(0,p.qQ)(C,!0),L("disable minimized latency")},R=()=>{E&&E.disable(),E=null,M=!1,(0,p.qQ)(C,!1),L('enable minimized latency (experimental)')},N=()=>{M?R():D()},_=e=>{let t=e.tech({IWillNotUseThisInPlugins:!0});if(!t||!t.vhs)return;let i=(0,p.$o)(C);"true"===i&&t&&t.vhs?D():R()},O=async(e,t)=>{let i=await j(),n=T(e,t,i,N);e.controlBar.addChild(n,{},e.controlBar.children_.length-2),_(e)},J=(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(),k()}),(0,a.y1)("f",S,{enableOnContentEditable:!1}),(0,a.y1)("m",x,{enableOnContentEditable:!1}),(0,a.y1)("0",()=>o.current.volume(o.current.volume()+.1),{enableOnContentEditable:!1}),(0,a.y1)("9",()=>o.current.volume(o.current.volume()-.1),{enableOnContentEditable:!1});let V=(e,t)=>{o.current=e,m(),J(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(),u(!0)}),e.on("pause",()=>{console.debug("player is paused"),I.stop(),u(!1)}),e.on("ended",()=>{console.debug("player is ended"),I.stop(),u(!1)}),t.hookOnce(),e.on("volumechange",f),(P=new b(e,t)).setClockSkew(d),O(e,t)};return(0,s.useEffect)(()=>{P&&P.setClockSkew(d)},[d]),(0,s.useEffect)(()=>()=>{R(),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",muted:l,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:V})}),(0,n.jsx)("div",{className:w().poster,children:!h&&(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/pages/embed/video-3471451594a48655.js b/static/web/_next/static/chunks/pages/embed/video-3471451594a48655.js new file mode 100644 index 000000000..8713668bb --- /dev/null +++ b/static/web/_next/static/chunks/pages/embed/video-3471451594a48655.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3126,5202],{61357:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/embed/video",function(){return t(29942)}])},51513:function(e,n,t){"use strict";t.d(n,{R:function(){return c}});var s=t(85893),i=t(27049),a=t(24019),r=t(45938),o=t(88335),l=t.n(o);let c=e=>{let n,{streamName:t,customText:o,lastLive:c,notificationsEnabled:u,fediverseAccount:d,onNotifyClick:f,onFollowClick:_}=e;return n=o||(!o&&u&&d?(0,s.jsxs)("span",{children:["This stream is offline. You can"," ",(0,s.jsx)("span",{role:"link",tabIndex:0,className:l().actionLink,onClick:f,children:"be notified"})," ","the next time ",t," goes live or"," ",(0,s.jsx)("span",{role:"link",tabIndex:0,className:l().actionLink,onClick:_,children:"follow"})," ",d," on the Fediverse."]}):!o&&u?(0,s.jsxs)("span",{children:["This stream is offline."," ",(0,s.jsx)("span",{role:"link",tabIndex:0,className:l().actionLink,onClick:f,children:"Be notified"})," ","the next time ",t," goes live."]}):!o&&d?(0,s.jsxs)("span",{children:["This stream is offline."," ",(0,s.jsx)("span",{role:"link",tabIndex:0,className:l().actionLink,onClick:_,children:"Follow"})," ",d," on the Fediverse to see the next time ",t," goes live."]}):"This stream is offline. Check back soon!"),(0,s.jsx)("div",{id:"offline-banner",className:l().outerContainer,children:(0,s.jsxs)("div",{className:l().innerContainer,children:[(0,s.jsx)("div",{className:l().header,children:t}),(0,s.jsx)(i.Z,{className:l().separator}),(0,s.jsx)("div",{className:l().bodyText,children:n}),c&&(0,s.jsxs)("div",{className:l().lastLiveDate,children:[(0,s.jsx)(a.Z,{className:l().clockIcon}),"Last live ".concat((0,r.Z)(new Date(c))," ago.")]})]})})}},69357:function(e,n,t){"use strict";t.d(n,{X:function(){return u}});var s=t(85893),i=t(45938),a=t(68730),r=t(67294),o=t(31326),l=t(37970),c=t.n(l);let u=e=>{let n,{online:t,lastConnectTime:l,lastDisconnectTime:u,viewerCount:d}=e,[,f]=(0,r.useState)(new Date);(0,r.useEffect)(()=>{let e=setInterval(()=>f(new Date),1e3);return()=>{clearInterval(e)}},[]);let _="";if(t&&l){let h=function(e){let n=(0,a.Z)({start:e,end:new Date});return n.days>1?"".concat(n.days," days ").concat(n.hours," hours"):n.hours>=1?"".concat(n.hours," hours ").concat(n.minutes," minutes"):"".concat(n.minutes," minutes ").concat(n.seconds," seconds")}(new Date(l));_=t?"Live for ".concat(h):"Offline",n=d>0&&(0,s.jsxs)("div",{className:c().right,children:[(0,s.jsx)("span",{children:(0,s.jsx)(o.Z,{})}),(0,s.jsx)("span",{children:" ".concat(d)})]})}else!t&&(_="Offline",u&&(n="Last live ".concat((0,i.Z)(new Date(u))," ago.")));return(0,s.jsxs)("div",{className:c().statusbar,children:[(0,s.jsx)("div",{children:_}),(0,s.jsx)("div",{children:n})]})};u.defaultProps={lastConnectTime:null,lastDisconnectTime:null}},29942:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return u}});var s=t(85893);t(67294);var i=t(4480),a=t(11163),r=t(77466),o=t(51513),l=t(69357),c=t(8888);function u(){var e;let n=(0,i.sJ)(r.RI),t=(0,i.sJ)(r.g1),{name:u}=t,{offlineMessage:d}=t,{viewerCount:f,lastConnectTime:_,lastDisconnectTime:h}=n,x=(0,i.sJ)(r.YW),m=(0,a.useRouter)(),p=null!==(e=m.asPath.split("?")[1])&&void 0!==e?e:"",v=p.split("&").reduce((e,n)=>{let[t,s]=n.split("=");return{...e,[t]:s}},{}),j="true"===v.initiallyMuted;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(r.me,{}),(0,s.jsxs)("div",{className:"video-embed",children:[x&&(0,s.jsx)(c.OwncastPlayer,{source:"/hls/stream.m3u8",online:x,initiallyMuted:j}),!x&&(0,s.jsx)(o.R,{streamName:u,customText:d,notificationsEnabled:!1}),x&&(0,s.jsx)(l.X,{online:x,lastConnectTime:_,lastDisconnectTime:h,viewerCount:f})]})]})}},88335:function(e){e.exports={outerContainer:"OfflineBanner_outerContainer__3AbsB",innerContainer:"OfflineBanner_innerContainer__zTm13",bodyText:"OfflineBanner_bodyText__nNNy0",separator:"OfflineBanner_separator___j_Ss",lastLiveDate:"OfflineBanner_lastLiveDate___UZdO",clockIcon:"OfflineBanner_clockIcon__s0DB_",header:"OfflineBanner_header__Vu20o",footer:"OfflineBanner_footer__o3Zl5",actionLink:"OfflineBanner_actionLink__b4Mwa"}},37970:function(e){e.exports={statusbar:"Statusbar_statusbar__AtVnB"}},10434:function(e){function n(){return e.exports=n=Object.assign?Object.assign.bind():function(e){for(var n=1;n{let n,{streamName:s,customText:o,lastLive:l,notificationsEnabled:d,fediverseAccount:u,onNotifyClick:f,onFollowClick:_}=e;return n=o||(!o&&d&&u?(0,t.jsxs)("span",{children:["This stream is offline. You can"," ",(0,t.jsx)("span",{role:"link",tabIndex:0,className:c().actionLink,onClick:f,children:"be notified"})," ","the next time ",s," goes live or"," ",(0,t.jsx)("span",{role:"link",tabIndex:0,className:c().actionLink,onClick:_,children:"follow"})," ",u," on the Fediverse."]}):!o&&d?(0,t.jsxs)("span",{children:["This stream is offline."," ",(0,t.jsx)("span",{role:"link",tabIndex:0,className:c().actionLink,onClick:f,children:"Be notified"})," ","the next time ",s," goes live."]}):!o&&u?(0,t.jsxs)("span",{children:["This stream is offline."," ",(0,t.jsx)("span",{role:"link",tabIndex:0,className:c().actionLink,onClick:_,children:"Follow"})," ",u," on the Fediverse to see the next time ",s," goes live."]}):"This stream is offline. Check back soon!"),(0,t.jsx)("div",{id:"offline-banner",className:c().outerContainer,children:(0,t.jsxs)("div",{className:c().innerContainer,children:[(0,t.jsx)("div",{className:c().header,children:s}),(0,t.jsx)(a.Z,{className:c().separator}),(0,t.jsx)("div",{className:c().bodyText,children:n}),l&&(0,t.jsxs)("div",{className:c().lastLiveDate,children:[(0,t.jsx)(i.Z,{className:c().clockIcon}),"Last live ".concat((0,r.Z)(new Date(l))," ago.")]})]})})}},69357:function(e,n,s){"use strict";s.d(n,{X:function(){return d}});var t=s(85893),a=s(45938),i=s(68730),r=s(67294),o=s(31326),c=s(37970),l=s.n(c);let d=e=>{let n,{online:s,lastConnectTime:c,lastDisconnectTime:d,viewerCount:u}=e,[,f]=(0,r.useState)(new Date);(0,r.useEffect)(()=>{let e=setInterval(()=>f(new Date),1e3);return()=>{clearInterval(e)}},[]);let _="";if(s&&c){let x=function(e){let n=(0,i.Z)({start:e,end:new Date});return n.days>1?"".concat(n.days," days ").concat(n.hours," hours"):n.hours>=1?"".concat(n.hours," hours ").concat(n.minutes," minutes"):"".concat(n.minutes," minutes ").concat(n.seconds," seconds")}(new Date(c));_=s?"Live for ".concat(x):"Offline",n=u>0&&(0,t.jsxs)("div",{className:l().right,children:[(0,t.jsx)("span",{children:(0,t.jsx)(o.Z,{})}),(0,t.jsx)("span",{children:" ".concat(u)})]})}else!s&&(_="Offline",d&&(n="Last live ".concat((0,a.Z)(new Date(d))," ago.")));return(0,t.jsxs)("div",{className:l().statusbar,children:[(0,t.jsx)("div",{children:_}),(0,t.jsx)("div",{children:n})]})};d.defaultProps={lastConnectTime:null,lastDisconnectTime:null}},29942:function(e,n,s){"use strict";s.r(n),s.d(n,{default:function(){return l}});var t=s(85893);s(67294);var a=s(4480),i=s(77466),r=s(51513),o=s(69357),c=s(8888);function l(){let e=(0,a.sJ)(i.RI),n=(0,a.sJ)(i.g1),{name:s}=n,{offlineMessage:l}=n,{viewerCount:d,lastConnectTime:u,lastDisconnectTime:f}=e,_=(0,a.sJ)(i.YW);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(i.me,{}),(0,t.jsxs)("div",{className:"video-embed",children:[_&&(0,t.jsx)(c.OwncastPlayer,{source:"/hls/stream.m3u8",online:_}),!_&&(0,t.jsx)(r.R,{streamName:s,customText:l,notificationsEnabled:!1}),_&&(0,t.jsx)(o.X,{online:_,lastConnectTime:u,lastDisconnectTime:f,viewerCount:d})]})]})}},88335:function(e){e.exports={outerContainer:"OfflineBanner_outerContainer__3AbsB",innerContainer:"OfflineBanner_innerContainer__zTm13",bodyText:"OfflineBanner_bodyText__nNNy0",separator:"OfflineBanner_separator___j_Ss",lastLiveDate:"OfflineBanner_lastLiveDate___UZdO",clockIcon:"OfflineBanner_clockIcon__s0DB_",header:"OfflineBanner_header__Vu20o",footer:"OfflineBanner_footer__o3Zl5",actionLink:"OfflineBanner_actionLink__b4Mwa"}},37970:function(e){e.exports={statusbar:"Statusbar_statusbar__AtVnB"}},10434:function(e){function n(){return e.exports=n=Object.assign?Object.assign.bind():function(e){for(var n=1;n0&&e[n-1][2]>f;n--)e[n]=e[n-1];e[n]=[a,c,f];return}for(var d=1/0,n=0;n=f&&Object.keys(h.O).every(function(e){return h.O[e](a[b])})?a.splice(b--,1):(r=!1,f0&&e[n-1][2]>f;n--)e[n]=e[n-1];e[n]=[a,c,f];return}for(var d=1/0,n=0;n=f&&Object.keys(h.O).every(function(e){return h.O[e](a[b])})?a.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 941103aac..2a9431a69 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 e15df721b..46c19f5e2 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 3e03e2eda..2bbb1f895 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 b3dad9c97..ddb6bad54 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 e04af060c..b3d0b902a 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 b2ae08654..7324fa8ea 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 3d7ec60b2..898d095dc 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-social-items/index.html b/static/web/admin/config-social-items/index.html index 314dc59f5..c17885505 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-video/index.html b/static/web/admin/config-video/index.html index d330f883a..b02843aa1 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/general/AppearanceConfig/index.html b/static/web/admin/config/general/AppearanceConfig/index.html index 2541813d1..314216341 100644 --- a/static/web/admin/config/general/AppearanceConfig/index.html +++ b/static/web/admin/config/general/AppearanceConfig/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/general/EditInstanceDetails/index.html b/static/web/admin/config/general/EditInstanceDetails/index.html index f05313a93..f913c65f5 100644 --- a/static/web/admin/config/general/EditInstanceDetails/index.html +++ b/static/web/admin/config/general/EditInstanceDetails/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/general/EditInstanceTags/index.html b/static/web/admin/config/general/EditInstanceTags/index.html index 9b4ec8f98..e49699203 100644 --- a/static/web/admin/config/general/EditInstanceTags/index.html +++ b/static/web/admin/config/general/EditInstanceTags/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Add Tags

This is a great way to categorize your Owncast server on the Directory!

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Add Tags

This is a great way to categorize your Owncast server on the Directory!

\ No newline at end of file diff --git a/static/web/admin/config/general/EditPageContent/index.html b/static/web/admin/config/general/EditPageContent/index.html index a97f9a257..5307a232e 100644 --- a/static/web/admin/config/general/EditPageContent/index.html +++ b/static/web/admin/config/general/EditPageContent/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

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

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/general/EditSocialLinks/index.html b/static/web/admin/config/general/EditSocialLinks/index.html index a022c1c68..cb67d3cbd 100644 --- a/static/web/admin/config/general/EditSocialLinks/index.html +++ b/static/web/admin/config/general/EditSocialLinks/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/general/GeneralConfig/index.html b/static/web/admin/config/general/GeneralConfig/index.html index 8ebca5612..3b128b157 100644 --- a/static/web/admin/config/general/GeneralConfig/index.html +++ b/static/web/admin/config/general/GeneralConfig/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

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

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/general/index.html b/static/web/admin/config/general/index.html index 70ebfffbf..66c41504c 100644 --- a/static/web/admin/config/general/index.html +++ b/static/web/admin/config/general/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

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

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/EditStorage/index.html b/static/web/admin/config/server/EditStorage/index.html index 5f7d3448b..f255f6242 100644 --- a/static/web/admin/config/server/EditStorage/index.html +++ b/static/web/admin/config/server/EditStorage/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/server/ServerConfig/index.html b/static/web/admin/config/server/ServerConfig/index.html index 0c8f405fc..137338106 100644 --- a/static/web/admin/config/server/ServerConfig/index.html +++ b/static/web/admin/config/server/ServerConfig/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

You should change your admin password 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

You should change your admin password 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/server/StorageConfig/index.html b/static/web/admin/config/server/StorageConfig/index.html index 242971f4c..c23b9f8cf 100644 --- a/static/web/admin/config/server/StorageConfig/index.html +++ b/static/web/admin/config/server/StorageConfig/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

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

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/server/StreamKeys/index.html b/static/web/admin/config/server/StreamKeys/index.html index f53a89580..8eb7a6fdc 100644 --- a/static/web/admin/config/server/StreamKeys/index.html +++ b/static/web/admin/config/server/StreamKeys/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline
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
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/config/server/index.html b/static/web/admin/config/server/index.html index ff9567f41..95b3fa724 100644 --- a/static/web/admin/config/server/index.html +++ b/static/web/admin/config/server/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

You should change your admin password 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

You should change your admin password 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/federation/actions/index.html b/static/web/admin/federation/actions/index.html index d8920f77e..dc21712da 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 fb38ab46d..e489e7a97 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 379804750..1f3bba5f9 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 9ce99376a..a04f80c0e 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 718455e79..4249b3786 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 7fb08a74f..e742d216f 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 fc44c0890..e5ab361ee 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 3c6f85200..b05550bc2 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 75b64859b..4b346a5b2 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 747121b91..b17d6e5d0 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 fcbd71230..a2d913b31 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 8ba1b4f1b..e2171270e 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 bd0e0fb04..6bc5697dc 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 5c4f1ef00..368368a3f 100644 --- a/static/web/index.html +++ b/static/web/index.html @@ -1,9 +1,9 @@ {{.Name}}
{{.Name}}
\ No newline at end of file +
\ No newline at end of file