Show max viewers
This commit is contained in:
parent
4553ae628b
commit
ce41b6ad40
@ -74,6 +74,8 @@
|
||||
|
||||
<div id="stream-info">
|
||||
{{ streamStatus }} {{ viewerCount }} {{ 'viewer' | plural(viewerCount) }}.
|
||||
Max {{ sessionMaxViewerCount }} {{ 'viewer' | plural(sessionMaxViewerCount) }},
|
||||
{{ overallMaxViewerCount }} overall.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user