simple-peer icon indicating copy to clipboard operation
simple-peer copied to clipboard

Time to listen for onicecandidateerror?

Open guanzo opened this issue 4 years ago • 2 comments

Chrome 77 implements RTCPeerConnection.onicecandidateerror.

Should simple-peer feature detect and emit errors? Happy to make a PR.

guanzo avatar Sep 17 '19 06:09 guanzo

Sure, if adding a listener to this event is safe for unsupported browsers. (Which seems to be the case).

We shouldn't destroy the peer on these errors - they usually won't be fatal.

t-mullen avatar Sep 17 '19 22:09 t-mullen

@guanzo any update on this ?

uaudith avatar Oct 30 '21 15:10 uaudith