RTCMultiConnection icon indicating copy to clipboard operation
RTCMultiConnection copied to clipboard

Error processing ICE candidate

Open thornzz opened this issue 5 years ago • 2 comments

Hi,

I have got a project that working many to many. Everything is working good on pc and android os. But im getting "Uncaught (in promise) DOMException: Failed to execute 'addIceCandidate' on 'RTCPeerConnection': Error processing ICE candidate" error when iOS Safari client enter web app.

After then Safari can see other webcam, other client can see safari client's cam and voice but ios client cant get other client's voice.

Any idea ?

thornzz avatar Sep 22 '20 15:09 thornzz

I think i have found the problem. IOS Safari browsers getting "Failed to execute 'addIceCandidate' on 'RTCPeerConnection': Error processing ICE candidate" error. Because its executing "peer.addIceCandidate" function before sending RemoteDescription. You can see from this screenshot. I think this is a bug. I dont enough knowledge to fix it.

screenshot : https://prnt.sc/un5kvy

Please help me @muaz-khan

thornzz avatar Sep 24 '20 15:09 thornzz

I think its because of turn servers.try any other turn server

fmangat avatar Nov 02 '20 14:11 fmangat