diff --git a/static/admin/404/index.html b/static/admin/404/index.html index 29d5e6915..2ad2f2959 100644 --- a/static/admin/404/index.html +++ b/static/admin/404/index.html @@ -1 +1 @@ -404: This page could not be found

What is your stream about today?

What is your stream about today?
Offline

404

This page could not be found.

\ No newline at end of file +404: This page could not be found

What is your stream about today?

What is your stream about today?
Offline

404

This page could not be found.

\ No newline at end of file diff --git a/static/admin/_next/static/SGZ0MTQk48TwjhRW3Eavc/_buildManifest.js b/static/admin/_next/static/3KWo9ScOhX5EYjT8QunR1/_buildManifest.js similarity index 66% rename from static/admin/_next/static/SGZ0MTQk48TwjhRW3Eavc/_buildManifest.js rename to static/admin/_next/static/3KWo9ScOhX5EYjT8QunR1/_buildManifest.js index 9b186b76d..ff761d900 100644 --- a/static/admin/_next/static/SGZ0MTQk48TwjhRW3Eavc/_buildManifest.js +++ b/static/admin/_next/static/3KWo9ScOhX5EYjT8QunR1/_buildManifest.js @@ -1 +1 @@ -self.__BUILD_MANIFEST=function(s,c,e,a,t,i,n,f,d,h,o,g,u,b){return{__rewrites:{beforeFiles:[],afterFiles:[],fallback:[]},"/":[s,e,a,t,i,f,"static/chunks/59-bb3486f7473684cf.js","static/chunks/pages/index-4d5ca370f5d2e820.js"],"/_error":["static/chunks/pages/_error-a3f18418a2205cb8.js"],"/access-tokens":[s,c,e,"static/chunks/pages/access-tokens-8ab04343bdf73124.js"],"/actions":[s,c,"static/chunks/pages/actions-4e648761889c23e5.js"],"/chat/messages":[d,s,c,e,i,h,"static/chunks/pages/chat/messages-945377167eed396f.js"],"/chat/users":[d,s,c,e,a,i,h,"static/chunks/pages/chat/users-3fafc5c5ca06039f.js"],"/config-chat":["static/chunks/pages/config-chat-00377015dc5f7622.js"],"/config-public-details":[s,c,n,"static/css/325160c29fde2de0.css","static/chunks/142-428a66fa3368b6f8.js",o,"static/chunks/pages/config-public-details-2e34343b51b52e4f.js"],"/config-server-details":[g,"static/chunks/pages/config-server-details-bf4e05a70deedfae.js"],"/config-social-items":[s,c,o,"static/chunks/pages/config-social-items-20e5d437c6559a00.js"],"/config-storage":["static/chunks/473-2f8a49a631089460.js","static/chunks/pages/config-storage-7ff1038872a3ca18.js"],"/config-video":[s,c,g,"static/chunks/556-bbfb134a84808c78.js","static/chunks/pages/config-video-32b520dff5444303.js"],"/hardware-info":[u,e,a,t,n,b,"static/chunks/pages/hardware-info-5c7933a2fc8e439b.js"],"/help":[a,"static/chunks/92-f84d47be5f8fbb10.js","static/chunks/pages/help-c7fc342e125a5d6b.js"],"/logs":[s,e,f,"static/chunks/pages/logs-992bb93ef15eb1c3.js"],"/upgrade":[s,"static/chunks/275-35d1a6aef8ecf26a.js","static/chunks/pages/upgrade-455b3ea722ce4dd6.js"],"/viewer-info":[u,e,a,t,n,b,"static/chunks/pages/viewer-info-2fd6ee53e3a146a5.js"],"/webhooks":[s,c,"static/chunks/pages/webhooks-347989374968ddba.js"],sortedPages:["/","/_app","/_error","/access-tokens","/actions","/chat/messages","/chat/users","/config-chat","/config-public-details","/config-server-details","/config-social-items","/config-storage","/config-video","/hardware-info","/help","/logs","/upgrade","/viewer-info","/webhooks"]}}("static/chunks/355-ee12fd455f95ac1f.js","static/chunks/516-7e3214ec30e2dcd2.js","static/chunks/91-af53fa87313ffd15.js","static/chunks/903-44fc07da62e11585.js","static/chunks/102-3bc0d7c9186e3845.js","static/chunks/533-2f63c37b8986cca1.js","static/chunks/8-c94a1d68c52ddd4a.js","static/chunks/429-613793ce22468b22.js","static/chunks/29107295-2c3ce868677a27a4.js","static/chunks/371-814cf16bf0e11916.js","static/chunks/17-a17fee5c4b40129f.js","static/chunks/578-243e65c094c02e3b.js","static/chunks/36bcf0ca-f04f40c3696051a5.js","static/chunks/958-45a95f3bc4c51636.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file +self.__BUILD_MANIFEST=function(s,c,a,e,t,i,n,f,d,h,o,b,g,u){return{__rewrites:{beforeFiles:[],afterFiles:[],fallback:[]},"/":[s,a,e,t,i,f,"static/chunks/59-bb3486f7473684cf.js","static/chunks/pages/index-4d5ca370f5d2e820.js"],"/_error":["static/chunks/pages/_error-a3f18418a2205cb8.js"],"/access-tokens":[s,c,a,"static/chunks/pages/access-tokens-8ab04343bdf73124.js"],"/actions":[s,c,"static/chunks/pages/actions-4e648761889c23e5.js"],"/chat/messages":[d,s,c,a,i,h,"static/chunks/pages/chat/messages-945377167eed396f.js"],"/chat/users":[d,s,c,a,e,i,h,"static/chunks/pages/chat/users-14a7ed232b1cf6f1.js"],"/config-chat":["static/chunks/pages/config-chat-00377015dc5f7622.js"],"/config-public-details":[s,c,n,"static/css/325160c29fde2de0.css","static/chunks/142-428a66fa3368b6f8.js",o,"static/chunks/pages/config-public-details-2e34343b51b52e4f.js"],"/config-server-details":[b,"static/chunks/pages/config-server-details-bf4e05a70deedfae.js"],"/config-social-items":[s,c,o,"static/chunks/pages/config-social-items-20e5d437c6559a00.js"],"/config-storage":["static/chunks/473-2f8a49a631089460.js","static/chunks/pages/config-storage-7ff1038872a3ca18.js"],"/config-video":[s,c,b,"static/chunks/556-bbfb134a84808c78.js","static/chunks/pages/config-video-af46f510261e570c.js"],"/hardware-info":[g,a,e,t,n,u,"static/chunks/pages/hardware-info-5c7933a2fc8e439b.js"],"/help":[e,"static/chunks/92-f84d47be5f8fbb10.js","static/chunks/pages/help-c7fc342e125a5d6b.js"],"/logs":[s,a,f,"static/chunks/pages/logs-992bb93ef15eb1c3.js"],"/upgrade":[s,"static/chunks/275-35d1a6aef8ecf26a.js","static/chunks/pages/upgrade-455b3ea722ce4dd6.js"],"/viewer-info":[g,a,e,t,n,u,"static/chunks/pages/viewer-info-2fd6ee53e3a146a5.js"],"/webhooks":[s,c,"static/chunks/pages/webhooks-347989374968ddba.js"],sortedPages:["/","/_app","/_error","/access-tokens","/actions","/chat/messages","/chat/users","/config-chat","/config-public-details","/config-server-details","/config-social-items","/config-storage","/config-video","/hardware-info","/help","/logs","/upgrade","/viewer-info","/webhooks"]}}("static/chunks/355-ee12fd455f95ac1f.js","static/chunks/516-7e3214ec30e2dcd2.js","static/chunks/91-af53fa87313ffd15.js","static/chunks/903-44fc07da62e11585.js","static/chunks/102-3bc0d7c9186e3845.js","static/chunks/533-2f63c37b8986cca1.js","static/chunks/8-c94a1d68c52ddd4a.js","static/chunks/429-613793ce22468b22.js","static/chunks/29107295-2c3ce868677a27a4.js","static/chunks/371-814cf16bf0e11916.js","static/chunks/17-a17fee5c4b40129f.js","static/chunks/578-243e65c094c02e3b.js","static/chunks/36bcf0ca-f04f40c3696051a5.js","static/chunks/958-45a95f3bc4c51636.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file diff --git a/static/admin/_next/static/SGZ0MTQk48TwjhRW3Eavc/_middlewareManifest.js b/static/admin/_next/static/3KWo9ScOhX5EYjT8QunR1/_middlewareManifest.js similarity index 100% rename from static/admin/_next/static/SGZ0MTQk48TwjhRW3Eavc/_middlewareManifest.js rename to static/admin/_next/static/3KWo9ScOhX5EYjT8QunR1/_middlewareManifest.js diff --git a/static/admin/_next/static/SGZ0MTQk48TwjhRW3Eavc/_ssgManifest.js b/static/admin/_next/static/3KWo9ScOhX5EYjT8QunR1/_ssgManifest.js similarity index 100% rename from static/admin/_next/static/SGZ0MTQk48TwjhRW3Eavc/_ssgManifest.js rename to static/admin/_next/static/3KWo9ScOhX5EYjT8QunR1/_ssgManifest.js diff --git a/static/admin/_next/static/chunks/pages/chat/users-14a7ed232b1cf6f1.js b/static/admin/_next/static/chunks/pages/chat/users-14a7ed232b1cf6f1.js new file mode 100644 index 000000000..23da51ca0 --- /dev/null +++ b/static/admin/_next/static/chunks/pages/chat/users-14a7ed232b1cf6f1.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[255],{22494:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/chat/users",function(){return t(20536)}])},20536:function(e,n,t){"use strict";t.r(n),t.d(n,{FETCH_INTERVAL:function(){return b},default:function(){return j}});var r=t(28520),s=t.n(r),a=t(85893),c=t(67294),o=t(87961),i=t(35159),u=t(58827),d=t(20643),l=t(25355),f=t(85533),h=t(85584),m=t(66192),p=t(2766);function x(e){var n=e.data,t=[{title:"Display Name",key:"username",render:function(e){var n=e.user,t={connectedAt:e.connectedAt,messageCount:e.messageCount,userAgent:e.userAgent};return(0,a.jsx)(h.Z,{user:n,connectionInfo:t,children:(0,a.jsx)("span",{className:"display-name",children:n.displayName})})},sorter:function(e,n){return e.user.displayName-n.user.displayName},sortDirections:["descend","ascend"]},{title:"Messages sent",dataIndex:"messageCount",key:"messageCount",className:"number-col",sorter:function(e,n){return e.messageCount-n.messageCount},sortDirections:["descend","ascend"]},{title:"Connected Time",dataIndex:"connectedAt",key:"connectedAt",defaultSortOrder:"ascend",render:function(e){return(0,f.Z)(new Date(e))},sorter:function(e,n){return new Date(e.connectedAt).getTime()-new Date(n.connectedAt).getTime()},sortDirections:["descend","ascend"]},{title:"User Agent",dataIndex:"userAgent",key:"userAgent",render:function(e){return(0,p.AB)(e)}},{title:"Location",dataIndex:"geo",key:"geo",render:function(e){return e?"".concat(e.regionName,", ").concat(e.countryCode):"-"}},{title:"",key:"block",className:"actions-col",render:function(e,n){return(0,a.jsx)(m.Z,{user:n.user,isEnabled:!n.user.disabledAt})}}];return(0,a.jsx)(l.Z,{className:"table-container",pagination:{hideOnSinglePage:!0},columns:t,dataSource:n,size:"small",rowKey:"id"})}function v(e,n,t,r,s,a,c){try{var o=e[a](c),i=o.value}catch(u){return void t(u)}o.done?n(i):Promise.resolve(i).then(r,s)}var g=o.Z.TabPane,b=1e4;function j(){var e,n=((0,c.useContext)(i.aC)||{}).online,t=(0,c.useState)([]),r=t[0],l=t[1],f=(0,c.useState)([]),h=f[0],m=f[1],p=(0,c.useState)([]),j=p[0],w=p[1],y=(e=s().mark((function e(){var n,t,r;return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,(0,u.rQ)(u.qk);case 3:n=e.sent,l(n),e.next=10;break;case 7:e.prev=7,e.t0=e.catch(0),console.log("==== error",e.t0);case 10:return e.prev=10,e.next=13,(0,u.rQ)(u.Kp);case 13:t=e.sent,m(t),e.next=20;break;case 17:e.prev=17,e.t1=e.catch(10),console.log("==== error",e.t1);case 20:return e.prev=20,e.next=23,(0,u.rQ)(u.GC);case 23:r=e.sent,w(r),e.next=30;break;case 27:e.prev=27,e.t2=e.catch(20),console.error("error fetching moderators",e.t2);case 30:case"end":return e.stop()}}),e,null,[[0,7],[10,17],[20,27]])})),function(){var n=this,t=arguments;return new Promise((function(r,s){var a=e.apply(n,t);function c(e){v(a,r,s,c,o,"next",e)}function o(e){v(a,r,s,c,o,"throw",e)}c(void 0)}))});(0,c.useEffect)((function(){var e;return y(),e=setInterval(y,b),function(){clearInterval(e)}}),[n]);var k=n?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(x,{data:h}),(0,a.jsxs)("p",{className:"description",children:["Visit the"," ",(0,a.jsx)("a",{href:"https://owncast.online/docs/viewers/?source=admin",target:"_blank",rel:"noopener noreferrer",children:"documentation"})," ","to configure additional details about your viewers."]})]}):(0,a.jsx)("p",{className:"description",children:"When a stream is active and chat is enabled, connected chat clients will be displayed here."});return(0,a.jsxs)(o.Z,{defaultActiveKey:"1",children:[(0,a.jsx)(g,{tab:(0,a.jsxs)("span",{children:["Connected ",n?"(".concat(h.length,")"):"(offline)"]}),children:k},"1"),(0,a.jsx)(g,{tab:(0,a.jsxs)("span",{children:["Banned ",n?"(".concat(r.length,")"):null]}),children:(0,a.jsx)(d.Z,{data:r})},"2"),(0,a.jsx)(g,{tab:(0,a.jsxs)("span",{children:["Moderators ",n?"(".concat(j.length,")"):null]}),children:(0,a.jsx)(d.Z,{data:j})},"3")]})}}},function(e){e.O(0,[662,355,516,91,903,533,371,774,888,179],(function(){return n=22494,e(e.s=n);var n}));var n=e.O();_N_E=n}]); \ No newline at end of file diff --git a/static/admin/_next/static/chunks/pages/chat/users-3fafc5c5ca06039f.js b/static/admin/_next/static/chunks/pages/chat/users-3fafc5c5ca06039f.js deleted file mode 100644 index aaf2beefd..000000000 --- a/static/admin/_next/static/chunks/pages/chat/users-3fafc5c5ca06039f.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[255],{22494:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/chat/users",function(){return t(20536)}])},20536:function(e,n,t){"use strict";t.r(n),t.d(n,{FETCH_INTERVAL:function(){return j},default:function(){return w}});var r=t(28520),s=t.n(r),a=t(85893),c=t(67294),o=t(17256),i=t(87961),u=t(35159),d=t(58827),l=t(20643),f=t(25355),h=t(85533),m=t(85584),p=t(66192),x=t(2766);function v(e){var n=e.data,t=[{title:"Display Name",key:"username",render:function(e){var n=e.user,t={connectedAt:e.connectedAt,messageCount:e.messageCount,userAgent:e.userAgent};return(0,a.jsx)(m.Z,{user:n,connectionInfo:t,children:(0,a.jsx)("span",{className:"display-name",children:n.displayName})})},sorter:function(e,n){return e.user.displayName-n.user.displayName},sortDirections:["descend","ascend"]},{title:"Messages sent",dataIndex:"messageCount",key:"messageCount",className:"number-col",sorter:function(e,n){return e.messageCount-n.messageCount},sortDirections:["descend","ascend"]},{title:"Connected Time",dataIndex:"connectedAt",key:"connectedAt",defaultSortOrder:"ascend",render:function(e){return(0,h.Z)(new Date(e))},sorter:function(e,n){return new Date(e.connectedAt).getTime()-new Date(n.connectedAt).getTime()},sortDirections:["descend","ascend"]},{title:"User Agent",dataIndex:"userAgent",key:"userAgent",render:function(e){return(0,x.AB)(e)}},{title:"Location",dataIndex:"geo",key:"geo",render:function(e){return e?"".concat(e.regionName,", ").concat(e.countryCode):"-"}},{title:"",key:"block",className:"actions-col",render:function(e,n){return(0,a.jsx)(p.Z,{user:n.user,isEnabled:!n.user.disabledAt})}}];return(0,a.jsx)(f.Z,{className:"table-container",pagination:{hideOnSinglePage:!0},columns:t,dataSource:n,size:"small",rowKey:"id"})}function g(e,n,t,r,s,a,c){try{var o=e[a](c),i=o.value}catch(u){return void t(u)}o.done?n(i):Promise.resolve(i).then(r,s)}o.Z.Title;var b=i.Z.TabPane,j=1e4;function w(){var e,n=((0,c.useContext)(u.aC)||{}).online,t=(0,c.useState)([]),r=t[0],o=t[1],f=(0,c.useState)([]),h=f[0],m=f[1],p=(0,c.useState)([]),x=p[0],w=p[1],y=(e=s().mark((function e(){var n,t,r;return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,(0,d.rQ)(d.qk);case 3:n=e.sent,o(n),e.next=10;break;case 7:e.prev=7,e.t0=e.catch(0),console.log("==== error",e.t0);case 10:return e.prev=10,e.next=13,(0,d.rQ)(d.Kp);case 13:t=e.sent,m(t),e.next=20;break;case 17:e.prev=17,e.t1=e.catch(10),console.log("==== error",e.t1);case 20:return e.prev=20,e.next=23,(0,d.rQ)(d.GC);case 23:r=e.sent,w(r),e.next=30;break;case 27:e.prev=27,e.t2=e.catch(20),console.error("error fetching moderators",e.t2);case 30:case"end":return e.stop()}}),e,null,[[0,7],[10,17],[20,27]])})),function(){var n=this,t=arguments;return new Promise((function(r,s){var a=e.apply(n,t);function c(e){g(a,r,s,c,o,"next",e)}function o(e){g(a,r,s,c,o,"throw",e)}c(void 0)}))});(0,c.useEffect)((function(){var e;return y(),e=setInterval(y,j),function(){clearInterval(e)}}),[n]);var k=n?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(v,{data:h}),(0,a.jsxs)("p",{className:"description",children:["Visit the"," ",(0,a.jsx)("a",{href:"https://owncast.online/docs/viewers/?source=admin",target:"_blank",rel:"noopener noreferrer",children:"documentation"})," ","to configure additional details about your viewers."]})]}):(0,a.jsx)("p",{className:"description",children:"When a stream is active and chat is enabled, connected chat clients will be displayed here."});return(0,a.jsxs)(i.Z,{defaultActiveKey:"1",children:[(0,a.jsx)(b,{tab:(0,a.jsxs)("span",{children:["Connected ",n?"(".concat(h.length,")"):"(offline)"]}),children:k},"1"),(0,a.jsx)(b,{tab:(0,a.jsxs)("span",{children:["Banned ",n?"(".concat(r.length,")"):null]}),children:(0,a.jsx)(l.Z,{data:r})},"2"),(0,a.jsx)(b,{tab:(0,a.jsxs)("span",{children:["Moderators ",n?"(".concat(x.length,")"):null]}),children:(0,a.jsx)(l.Z,{data:x})},"3")]})}}},function(e){e.O(0,[662,355,516,91,903,533,371,774,888,179],(function(){return n=22494,e(e.s=n);var n}));var n=e.O();_N_E=n}]); \ No newline at end of file diff --git a/static/admin/_next/static/chunks/pages/config-video-32b520dff5444303.js b/static/admin/_next/static/chunks/pages/config-video-af46f510261e570c.js similarity index 85% rename from static/admin/_next/static/chunks/pages/config-video-32b520dff5444303.js rename to static/admin/_next/static/chunks/pages/config-video-af46f510261e570c.js index 2773f2ba7..cfca6837c 100644 --- a/static/admin/_next/static/chunks/pages/config-video-32b520dff5444303.js +++ b/static/admin/_next/static/chunks/pages/config-video-af46f510261e570c.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[64],{79893:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/config-video",function(){return t(37252)}])},15976:function(e,n,t){"use strict";t.d(n,{Z:function(){return m}});var r=t(28520),a=t.n(r),i=t(85893),o=t(67294),s=t(94594),l=t(83200),c=t(78464),d=t(25964),u=t(35159);function h(e,n,t,r,a,i,o){try{var s=e[i](o),l=s.value}catch(c){return void t(c)}s.done?n(l):Promise.resolve(l).then(r,a)}function m(e){var n,t=(0,o.useState)(null),r=t[0],m=t[1],f=null,v=((0,o.useContext)(u.aC)||{}).setFieldInConfigState,p=e.apiPath,g=e.checked,x=e.reversed,y=void 0!==x&&x,b=e.configPath,j=void 0===b?"":b,w=e.disabled,N=void 0!==w&&w,k=e.fieldName,P=e.label,C=e.tip,S=e.useSubmit,Z=e.onChange,I=function(){m(null),clearTimeout(f),f=null},T=(n=a().mark((function e(n){var t;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!S){e.next=6;break}return m((0,l.kg)(l.Jk)),t=y?!n:n,e.next=5,(0,d.Si)({apiPath:p,data:{value:t},onSuccess:function(){v({fieldName:k,value:t,path:j}),m((0,l.kg)(l.zv))},onError:function(e){m((0,l.kg)(l.Un,"There was an error: ".concat(e)))}});case 5:f=setTimeout(I,d.sI);case 6:Z&&Z(n);case 7:case"end":return e.stop()}}),e)})),function(){var e=this,t=arguments;return new Promise((function(r,a){var i=n.apply(e,t);function o(e){h(i,r,a,o,s,"next",e)}function s(e){h(i,r,a,o,s,"throw",e)}o(void 0)}))}),_=null!==r&&r.type===l.Jk;return(0,i.jsxs)("div",{className:"formfield-container toggleswitch-container",children:[P&&(0,i.jsx)("div",{className:"label-side",children:(0,i.jsx)("span",{className:"formfield-label",children:P})}),(0,i.jsxs)("div",{className:"input-side",children:[(0,i.jsxs)("div",{className:"input-group",children:[(0,i.jsx)(s.Z,{className:"switch field-".concat(k),loading:_,onChange:T,defaultChecked:g,checked:g,checkedChildren:"ON",unCheckedChildren:"OFF",disabled:N}),(0,i.jsx)(c.Z,{status:r})]}),(0,i.jsx)("p",{className:"field-tip",children:C})]})]})}m.defaultProps={apiPath:"",checked:!1,reversed:!1,configPath:"",disabled:!1,label:"",tip:"",useSubmit:!1,onChange:null}},37252:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return J}});var r=t(85893),a=t(54907),i=t(17256),o=t(25968),s=t(6226),l=t(67294),c=t(28520),d=t.n(c),u=t(28114),h=t(75443),m=t(57553),f=t(25964),v=t(83200),p=t(35159),g=t(78464);function x(e,n,t,r,a,i,o){try{var s=e[i](o),l=s.value}catch(c){return void t(c)}s.done?n(l):Promise.resolve(l).then(r,a)}function y(e){return function(){var n=this,t=arguments;return new Promise((function(r,a){var i=e.apply(n,t);function o(e){x(i,r,a,o,s,"next",e)}function s(e){x(i,r,a,o,s,"throw",e)}o(void 0)}))}}function b(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t=[],r=!0,a=!1,i=void 0;try{for(var o,s=e[Symbol.iterator]();!(r=(o=s.next()).done)&&(t.push(o.value),!n||t.length!==n);r=!0);}catch(l){a=!0,i=l}finally{try{r||null==s.return||s.return()}finally{if(a)throw i}}return t}(e,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function j(){var e=(0,l.useContext)(p.aC),n=e||{},t=n.serverConfig,a=n.setFieldInConfigState,o=t||{},s=o.videoCodec,c=o.supportedCodecs,x=i.Z.Title,j=u.Z.Option,w=(0,l.useState)(null),N=w[0],k=w[1],P=(0,l.useContext)(m.k).setMessage,C=(0,l.useState)(s),S=C[0],Z=C[1],I=(0,l.useState)(s),T=I[0],_=I[1],V=b(l.useState(!1),2),O=V[0],E=V[1],A=null;(0,l.useEffect)((function(){Z(s)}),[s]);var U=function(){k(null),A=null,clearTimeout(A)};function L(){return(L=y(d().mark((function n(){return d().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return Z(T),_(""),E(!1),n.next=5,(0,f.Si)({apiPath:f.CQ,data:{value:T},onSuccess:function(){a({fieldName:"videoCodec",value:T,path:"videoSettings"}),k((0,v.kg)(v.zv,"Video codec updated.")),A=setTimeout(U,f.sI),e.online&&P("Your latency buffer setting will take effect the next time you begin a live stream.")},onError:function(e){k((0,v.kg)(v.Un,e)),A=setTimeout(U,f.sI)}});case 5:case"end":return n.stop()}}),n)})))).apply(this,arguments)}var F=c.map((function(e){var n=e;return"libx264"===n?n="Default (libx264)":"h264_nvenc"===n?n="NVIDIA GPU acceleration":"h264_vaapi"===n?n="VA-API hardware encoding":"h264_qsv"===n?n="Intel QuickSync":"h264_v4l2m2m"===n?n="Video4Linux hardware encoding":"h264_omx"===n&&(n="OpenMax (omx) for Raspberry Pi"),(0,r.jsx)(j,{value:e,children:n},e)})),B="";return"libx264"===S?B="libx264 is the default codec and generally the only working choice for shared VPS enviornments. This is likely what you should be using unless you know you have set up other options.":"h264_nvenc"===S?B="You can use your NVIDIA GPU for encoding if you have a modern NVIDIA card with encoding cores.":"h264_vaapi"===S?B="VA-API may be supported by your NVIDIA proprietary drivers, Mesa open-source drivers for AMD or Intel graphics.":"h264_qsv"===S?B="Quick Sync Video is Intel's brand for its dedicated video encoding and decoding hardware. It may be an option if you have a modern Intel CPU with integrated graphics.":"h264_v4l2m2m"===S?B="Video4Linux is an interface to multiple different hardware encoding platforms such as Intel and AMD.":"h264_omx"===S&&(B="OpenMax is a codec most often used with a Raspberry Pi."),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(x,{level:3,className:"section-title",children:"Video Codec"}),(0,r.jsxs)("div",{className:"description",children:["If you have access to specific hardware with the drivers and software installed for them, you may be able to improve your video encoding performance.",(0,r.jsx)("p",{children:(0,r.jsx)("a",{href:"https://owncast.online/docs/codecs?source=admin",target:"_blank",rel:"noopener noreferrer",children:"Read the documentation about this setting before changing it or you may make your stream unplayable."})})]}),(0,r.jsxs)("div",{className:"segment-slider-container",children:[(0,r.jsx)(h.Z,{title:"Are you sure you want to change your video codec to ".concat(T," and understand what this means?"),visible:O,placement:"leftBottom",onConfirm:function(){return L.apply(this,arguments)},okText:"Yes",cancelText:"No",children:(0,r.jsx)(u.Z,{defaultValue:S,value:S,style:{width:"100%"},onChange:function(e){_(e),E(!0)},children:F})}),(0,r.jsx)(g.Z,{status:N}),(0,r.jsx)("p",{id:"selected-codec-note",className:"selected-value-note",children:B})]})]})}var w=t(48761);function N(e,n,t,r,a,i,o){try{var s=e[i](o),l=s.value}catch(c){return void t(c)}s.done?n(l):Promise.resolve(l).then(r,a)}var k=i.Z.Title,P={0:"Lowest",1:"",2:"",3:"",4:"Highest"},C={0:"Lowest latency, lowest error tolerance (Not recommended, may not work for all content/configurations.)",1:"Low latency, low error tolerance",2:"Medium latency, medium error tolerance (Default)",3:"High latency, high error tolerance",4:"Highest latency, highest error tolerance"};function S(){var e=(0,l.useState)(null),n=e[0],t=e[1],a=(0,l.useState)(null),i=a[0],o=a[1],s=(0,l.useContext)(p.aC),c=(0,l.useContext)(m.k).setMessage,u=s||{},h=u.serverConfig,x=u.setFieldInConfigState,y=(h||{}).videoSettings,b=null;if(!y)return null;(0,l.useEffect)((function(){o(y.latencyLevel)}),[y]);var j,S=function(){t(null),b=null,clearTimeout(b)},Z=(j=d().mark((function e(n){return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t((0,v.kg)(v.Jk)),e.next=3,(0,f.Si)({apiPath:f.sv,data:{value:n},onSuccess:function(){x({fieldName:"latencyLevel",value:n,path:"videoSettings"}),t((0,v.kg)(v.zv,"Latency buffer level updated.")),b=setTimeout(S,f.sI),s.online&&c("Your latency buffer setting will take effect the next time you begin a live stream.")},onError:function(e){t((0,v.kg)(v.Un,e)),b=setTimeout(S,f.sI)}});case 3:case"end":return e.stop()}}),e)})),function(){var e=this,n=arguments;return new Promise((function(t,r){var a=j.apply(e,n);function i(e){N(a,t,r,i,o,"next",e)}function o(e){N(a,t,r,i,o,"throw",e)}i(void 0)}))});return(0,r.jsxs)("div",{className:"config-video-latency-container",children:[(0,r.jsx)(k,{level:3,className:"section-title",children:"Latency Buffer"}),(0,r.jsx)("p",{className:"description",children:"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."}),(0,r.jsxs)("p",{className:"description",children:["For interactive live streams you may want to experiment with a lower latency, for non-interactive broadcasts you may want to increase it."," ",(0,r.jsx)("a",{href:"https://owncast.online/docs/encoding#latency-buffer?source=admin",target:"_blank",rel:"noopener noreferrer",children:"Read to learn more."})]}),(0,r.jsxs)("div",{className:"segment-slider-container",children:[(0,r.jsx)(w.Z,{tipFormatter:function(e){return C[e]},onChange:function(e){Z(e)},min:0,max:4,marks:P,defaultValue:i,value:i}),(0,r.jsx)("p",{className:"selected-value-note",children:C[i]}),(0,r.jsx)(g.Z,{status:n})]})]})}var Z=t(71577),I=t(14670),T=t(25355),_=t(56516),V=t(48689),O=t(21640),E=t(94184),A=t.n(E),U=t(48419),L=t(15976);function F(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function B(e){for(var n=1;nOwncast 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/admin/actions/index.html b/static/admin/actions/index.html index b5e31b670..8abecd908 100644 --- a/static/admin/actions/index.html +++ b/static/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/admin/chat/messages/index.html b/static/admin/chat/messages/index.html index bf2d791db..44155224b 100644 --- a/static/admin/chat/messages/index.html +++ b/static/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/admin/chat/users/index.html b/static/admin/chat/users/index.html index ed8c9c44d..4d83d3461 100644 --- a/static/admin/chat/users/index.html +++ b/static/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/admin/config-chat/index.html b/static/admin/config-chat/index.html index a5c861185..5d3e1a011 100644 --- a/static/admin/config-chat/index.html +++ b/static/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/admin/config-public-details/index.html b/static/admin/config-public-details/index.html index dd3b3b74d..89c6360a1 100644 --- a/static/admin/config-public-details/index.html +++ b/static/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.


Customize your page styling with CSS

Customize the look and feel of your Owncast instance by overriding the CSS styles of various components on the page. Refer to the CSS & Components guide.

Please input plain CSS text, as this will be directly injected onto your page during load.


\ 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.


Customize your page styling with CSS

Customize the look and feel of your Owncast instance by overriding the CSS styles of various components on the page. Refer to the CSS & Components guide.

Please input plain CSS text, as this will be directly injected onto your page during load.


\ No newline at end of file diff --git a/static/admin/config-server-details/index.html b/static/admin/config-server-details/index.html index fc0778387..7376a72ca 100644 --- a/static/admin/config-server-details/index.html +++ b/static/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/admin/config-social-items/index.html b/static/admin/config-social-items/index.html index c6328b3d9..58098e45f 100644 --- a/static/admin/config-social-items/index.html +++ b/static/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/admin/config-storage/index.html b/static/admin/config-storage/index.html index 7f66564fd..ef6a19ae5 100644 --- a/static/admin/config-storage/index.html +++ b/static/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/admin/config-video/index.html b/static/admin/config-video/index.html index dba3cd7db..e37b53683 100644 --- a/static/admin/config-video/index.html +++ b/static/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/admin/hardware-info/index.html b/static/admin/hardware-info/index.html index 8ebca8dab..d3dcbd5d3 100644 --- a/static/admin/hardware-info/index.html +++ b/static/admin/hardware-info/index.html @@ -1,4 +1,4 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Hardware Info


Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Hardware Info


Disk
0%
Loading...
\ No newline at end of file + a 47,47 0 1 1 0,94" stroke="" stroke-linecap="round" stroke-width="6" opacity="0" fill-opacity="0" style="stroke:#52C41A;stroke-dasharray:0px 295.3097094374406px;stroke-dashoffset:-37.5px;transition:stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s">
Disk
0%
Loading...
\ No newline at end of file diff --git a/static/admin/help/index.html b/static/admin/help/index.html index 3c5d1530a..c87c6a533 100644 --- a/static/admin/help/index.html +++ b/static/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/admin/index.html b/static/admin/index.html index e534c856e..e4e33f084 100644 --- a/static/admin/index.html +++ b/static/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.

Use your broadcasting software
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.
Not sure what to do next?
If you're having issues or would like to know how to customize and configure your Owncast server visit the help page.

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.

Use your broadcasting software
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.
Not sure what to do next?
If you're having issues or would like to know how to customize and configure your Owncast server visit the help page.

News & Updates from Owncast

\ No newline at end of file diff --git a/static/admin/logs/index.html b/static/admin/logs/index.html index 732d8d214..c3b0dd982 100644 --- a/static/admin/logs/index.html +++ b/static/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/admin/upgrade/index.html b/static/admin/upgrade/index.html index 4d0c5567c..ea331783d 100644 --- a/static/admin/upgrade/index.html +++ b/static/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/admin/viewer-info/index.html b/static/admin/viewer-info/index.html index b82a5e3b6..03c546db2 100644 --- a/static/admin/viewer-info/index.html +++ b/static/admin/viewer-info/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

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

What is your stream about today?

What is your stream about today?
Offline
no info
\ No newline at end of file diff --git a/static/admin/webhooks/index.html b/static/admin/webhooks/index.html index 11739807a..9b00bc8de 100644 --- a/static/admin/webhooks/index.html +++ b/static/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