Merge branch 'web-layout' of https://github.com/gabek/owncast into web-layout
This commit is contained in:
@@ -66,6 +66,8 @@
|
|||||||
|
|
||||||
<div id="stream-info">
|
<div id="stream-info">
|
||||||
{{ streamStatus }} {{ viewerCount }} {{ 'viewer' | plural(viewerCount) }}.
|
{{ streamStatus }} {{ viewerCount }} {{ 'viewer' | plural(viewerCount) }}.
|
||||||
|
Max {{ sessionMaxViewerCount }} {{ 'viewer' | plural(sessionMaxViewerCount) }},
|
||||||
|
{{ overallMaxViewerCount }} overall.
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
@@ -60,6 +60,8 @@ async function getStatus() {
|
|||||||
: "Stream is offline."
|
: "Stream is offline."
|
||||||
|
|
||||||
app.viewerCount = status.viewerCount
|
app.viewerCount = status.viewerCount
|
||||||
|
app.sessionMaxViewerCount = status.sessionMaxViewerCount
|
||||||
|
app.overallMaxViewerCount = status.overallMaxViewerCount
|
||||||
|
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
app.streamStatus = "Stream server is offline."
|
app.streamStatus = "Stream server is offline."
|
||||||
|
|||||||
Reference in New Issue
Block a user