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

pull/4663/head
IgorA100 2026-03-01 00:31:08 +03:00 committed by GitHub
parent 07345d095a
commit 3d02585634
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

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