0

Merge branch 'web-layout' of https://github.com/gabek/owncast into web-layout

This commit is contained in:
Ginger Wong 2020-06-14 00:24:55 -07:00
commit 3ef20c5516
2 changed files with 5 additions and 1 deletions

View File

@ -66,6 +66,8 @@
<div id="stream-info">
{{ streamStatus }} {{ viewerCount }} {{ 'viewer' | plural(viewerCount) }}.
Max {{ sessionMaxViewerCount }} {{ 'viewer' | plural(sessionMaxViewerCount) }},
{{ overallMaxViewerCount }} overall.
</div>
</div>

View File

@ -60,7 +60,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