RTSPtoWebRTC icon indicating copy to clipboard operation
RTSPtoWebRTC copied to clipboard

Not work when there is no Internet access - Failed to execute 'setRemoteDescription' on 'RTCPeerConnection':

Open mateok0 opened this issue 3 years ago • 3 comments

Hello,

I have a problem - the library works fine when there is Internet access. However, when this access is not available (i.e. there is no physical connection to the Internet, but the cameras are available via IP), it throws an error in the browser: Failed to execute 'setRemoteDescription' on 'RTCPeerConnection': Failed to parse SessionDescription. Expect line: v= Url: http://nnn:8083/stream/receiver/nn then it returns nothing and throws an error. How can this problem be fixed to make the library work even when the Internet is offline?

mateok0 avatar Jul 22 '22 21:07 mateok0

Did u try to remove the ICE Servers from config File and js file?

Cacsjep avatar Aug 26 '22 17:08 Cacsjep

removing the ice servers from config file did not solve the problem

sasanqc avatar May 13 '23 12:05 sasanqc

Modify line 212 of a file deepch/vdk/format/webrtcv3/adapter.go that he references the library, case <-waitT. C: return "", errors.New("gatherCompletePromise wait") The above two lines are commented out, and then a line is added after the end of the select block. time.Sleep(time.Millisecond * 1) Then try compiling the program again.

MI-Class avatar Mar 27 '24 07:03 MI-Class