mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2025-12-23 22:37:53 -05:00
On error set 'current-mode'='ERROR' (video-stream.js)
This commit is contained in:
@@ -23,8 +23,8 @@ class VideoStream extends VideoRTC {
|
||||
modeEl.innerText = 'Go2RTC ' + 'error';
|
||||
}
|
||||
if (statusEl) statusEl.innerText = 'Go2RTC ' + value;
|
||||
this.setAttribute('current-mode', value.toUpperCase());
|
||||
this.currentMode = value.toUpperCase();
|
||||
this.setAttribute('current-mode', 'ERROR');
|
||||
this.currentMode = 'ERROR';
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user