mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-03-30 11:42:22 -04:00
Fix: RTSP2Web after closing "RTCPeerConnection" browser should not try to get object (MonitorStream.js)
This commit is contained in:
@@ -475,6 +475,7 @@ function MonitorStream(monitorData) {
|
||||
} else if (-1 !== this.player.indexOf('rtsp2web')) {
|
||||
if (this.webrtc) {
|
||||
if (this.webrtc.close) this.webrtc.close();
|
||||
stream.src = '';
|
||||
stream.srcObject = null;
|
||||
this.webrtc = null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user