Skip to content

Take control over your live stream video by running it yourself. Streaming + chat out of the box.

Show max viewers

Gabe Kangasce41b6ad40a5
diff --git a/webroot/index.html b/webroot/index.html
index 77b432c5c7..28714cfed5 100644
--- a/webroot/index.html
+++ b/webroot/index.html
@@ -74,6 +74,8 @@
<div id="stream-info">
{{ streamStatus }} {{ viewerCount }} {{ 'viewer' | plural(viewerCount) }}.
+ Max {{ sessionMaxViewerCount }} {{ 'viewer' | plural(sessionMaxViewerCount) }},
+ {{ overallMaxViewerCount }} overall.
</div>
</div>
diff --git a/webroot/js/app.js b/webroot/js/app.js
index 64f9f20f32..7b6bf89629 100644
--- a/webroot/js/app.js
+++ b/webroot/js/app.js
@@ -59,7 +59,9 @@ async function getStatus() {
: "Stream is offline."
app.viewerCount = status.viewerCount
-
+ app.sessionMaxViewerCount = status.sessionMaxViewerCount
+ app.overallMaxViewerCount = status.overallMaxViewerCount
+
} catch (e) {
app.streamStatus = "Stream server is offline."
app.viewerCount = 0