Fix: If an RTSP2Web type RTC error occurs, restart the stream instead of killing it (MonitorStream.js)

This commit is contained in:
IgorA100
2026-03-01 00:31:08 +03:00
committed by GitHub
parent 07345d095a
commit 3d02585634

View File

@@ -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.');