0

Fix status checking loop.

This commit is contained in:
Gabe Kangas 2020-06-02 14:15:32 -07:00
parent 7e85a38613
commit 90e7e9082b

View File

@ -48,7 +48,6 @@ async function getStatus() {
app.streamStatus = "Stream server is offline."
}
setInterval(getStatus, 5000)
}
function setupWebsocket() {
@ -66,6 +65,7 @@ function setupWebsocket() {
setupApp()
getStatus();
setupWebsocket()
setInterval(getStatus, 5000)
var video = document.getElementById("video")
var videoSrc = "hls/stream.m3u8"