InnovateAsterisk / Browser-Phone

A fully featured browser based WebRTC SIP phone for Asterisk

Home Page:https://www.innovateasterisk.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Failed to execute 'setRemoteDescription' on 'RTCPeerConnection'

prathibhacdac opened this issue · comments

I am getting this error when the signal strength is weak.

InvalidAccessError: Failed to execute 'setRemoteDescription' on 'RTCPeerConnection': Failed to set remote offer sdp: Called with SDP without DTLS fingerprint.

Failed to execute 'setRemoteDescription' on 'RTCPeerConnection': Failed to set remote offer sdp: Called with SDP without DTLS fingerprint.

Next time this happens try and capture the SDP. If the SDP is corrupted, then yes, Chrome or the browser will reject the SDP with an error like this. The method setRemoteDescription is the point in the code that applies the SDP (sent via the wire), to the browsers internal media hander... there is little anyone can do if its broken or corrupt. The question is what's breaking it... also then what would be the handling if it was broken. Typically servers are designed that if there is no ACK or response back from the endpoint, it tries again - this may help in this case. I'm assuming the codes default reaction is to send back an error code, right?
Please see if you can capture the SIP message flow, so i can try help solve this for you.