[webrtc-pc] Silence OperationError in addIceCandidate from rollback (#2164)

jan-ivar has just created a new issue for https://github.com/w3c/webrtc-pc:

== Silence OperationError in addIceCandidate from rollback ==
In [bug 1542370](https://bugzilla.mozilla.org/show_bug.cgi?id=1542370) we discovered that rollback may cause subsequent *addIceCandidate* calls to error:

> OperationError: Cannot set ICE candidate for level=1 mid=1: No such transceiver.
> OperationError: Cannot set ICE candidate for level=1 mid=1: No such transceiver.
> OperationError: Cannot set ICE candidate for level=1 mid=1: No such transceiver.
> OperationError: Cannot set ICE candidate for level=1 mid=1: No such transceiver.
> OperationError: Cannot set ICE candidate for level=1 mid=1: No such transceiver.

It seems unreasonably difficult to detect and suppress these failures, so we propose that *addIceCandidate()* silently discard these candidates without error.

Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/2164 using your GitHub account

Received on Sunday, 7 April 2019 20:14:52 UTC