mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-05-18 11:35:15 -04:00
Fix: If an RTSP2Web type RTC error occurs, restart the stream instead of killing it (MonitorStream.js)
This commit is contained in:
@@ -1909,7 +1909,7 @@ function startRTSP2WebPlay(videoEl, url, stream) {
|
||||
error: function(xhr, status, error) {
|
||||
console.warn('Error request localDescription:', error, xhr.responseText);
|
||||
stream.updateStreamInfo('', 'Error'); //WEBRTC
|
||||
stream.kill();
|
||||
stream.restart(stream.currentChannelStream);
|
||||
},
|
||||
complete: function() {
|
||||
//console.log('Request localDescription completed.');
|
||||
|
||||
Reference in New Issue
Block a user