[webrtc-pc] detecting a remote ICE restart?

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

== detecting a remote ICE restart? ==
is there a way in the API that allows me to detect the remote side tried an ice restart after SRD is done?

There are ways to detect it such as parsing the SDP and
* comparing the incoming ufrag to the current remote description before calling SRD
* comparing the new answer ufrag before SLD
but both variants require SDP parsing.

With RTCIceTransport.getRemoteParameters() once can probably avoid parsing the SDP at least.
Do we need a better way like firing an event on the transport?

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

Received on Wednesday, 27 June 2018 20:24:36 UTC