diff --git a/webroot/js/app-video-only.js b/webroot/js/app-video-only.js index 8fd5e59b8..fb79f8759 100644 --- a/webroot/js/app-video-only.js +++ b/webroot/js/app-video-only.js @@ -31,8 +31,6 @@ export default class VideoOnly extends Component { //status streamStatusMessage: MESSAGE_OFFLINE, viewerCount: '', - sessionMaxViewerCount: '', - overallMaxViewerCount: '', }; // timers @@ -131,8 +129,6 @@ export default class VideoOnly extends Component { } const { viewerCount, - sessionMaxViewerCount, - overallMaxViewerCount, online, } = status; @@ -153,8 +149,6 @@ export default class VideoOnly extends Component { } this.setState({ viewerCount, - sessionMaxViewerCount, - overallMaxViewerCount, streamOnline: online, }); } @@ -215,8 +209,6 @@ export default class VideoOnly extends Component { configData, viewerCount, - sessionMaxViewerCount, - overallMaxViewerCount, playerActive, streamOnline, streamStatusMessage, @@ -256,8 +248,6 @@ export default class VideoOnly extends Component {
${streamStatusMessage} ${viewerCount} ${pluralize('viewer', viewerCount)}. - Max ${pluralize('viewer', sessionMaxViewerCount)}. - ${overallMaxViewerCount} overall.
`); diff --git a/webroot/js/app.js b/webroot/js/app.js index e38e178f4..b08cb8512 100644 --- a/webroot/js/app.js +++ b/webroot/js/app.js @@ -64,8 +64,6 @@ export default class App extends Component { // status streamStatusMessage: MESSAGE_OFFLINE, viewerCount: '', - sessionMaxViewerCount: '', - overallMaxViewerCount: '', // dom windowWidth: window.innerWidth, @@ -208,8 +206,6 @@ export default class App extends Component { } const { viewerCount, - sessionMaxViewerCount, - overallMaxViewerCount, online, lastConnectTime, } = status; @@ -231,8 +227,6 @@ export default class App extends Component { } this.setState({ viewerCount, - sessionMaxViewerCount, - overallMaxViewerCount, lastConnectTime, streamOnline: online, }); @@ -357,9 +351,7 @@ export default class App extends Component { displayChat, extraUserContent, orientation, - overallMaxViewerCount, playerActive, - sessionMaxViewerCount, streamOnline, streamStatusMessage, userAvatarImage, @@ -483,12 +475,6 @@ export default class App extends Component { > ${streamStatusMessage} ${viewerCount} ${pluralize('viewer', viewerCount)}. - - Max ${sessionMaxViewerCount} ${" "} ${pluralize('viewer', sessionMaxViewerCount)} this stream. - - - ${overallMaxViewerCount} all time. -