Fix: If an RTSP2Web type RTC error occurs, restart the stream instead of killing it (MonitorStream.js)
parent
07345d095a
commit
3d02585634
|
|
@ -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.');
|
||||
|
|
|
|||
Loading…
Reference in New Issue