Skip to content

Commit

Permalink
Track started state for RTSP2Web and Janus as well
Browse files Browse the repository at this point in the history
  • Loading branch information
Isaac Connor committed Sep 6, 2024
1 parent 5906896 commit 2ca08fb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions web/js/MonitorStream.js
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,7 @@ function MonitorStream(monitorData) {
}
attachVideo(parseInt(this.id), this.janusPin);
this.statusCmdTimer = setInterval(this.statusCmdQuery.bind(this), statusRefreshTimeout);
this.started = true;
return;
}
if (this.RTSP2WebEnabled) {
Expand Down Expand Up @@ -289,6 +290,7 @@ function MonitorStream(monitorData) {
startRTSP2WebPlay(videoEl, webrtcUrl.href);
}
this.statusCmdTimer = setInterval(this.statusCmdQuery.bind(this), statusRefreshTimeout);
this.started = true;
return;
} else {
console.log("ZM_RTSP2WEB_PATH is empty. Go to Options->System and set ZM_RTSP2WEB_PATH accordingly.");
Expand Down

0 comments on commit 2ca08fb

Please sign in to comment.