Re: [webrtc-pc] Clarify what happens when rolling back an ICE restart (#2367)

@jan-ivar What about the other endpoint?

pc1 generates ice candidates from an ICE restart and sends the offer to pc2.
pc2 creates an offer and discards pc1's offer because it is the unpolite peer.
pc1.onicecandidate fires and it sends the candidate to pc2. Would pc2.addIceCandidate() throw since it has not set the pc1 offer because it is unpolite?
pc1 receives the pc2 offer and, because it is polite, rolls back.
O/A exchange
pc1 will re-offer, resetting ICE again, and fire new candidates. The offer and candidates will be sent to pc2 and this time pc2 accepts then, everything is good.

-- 
GitHub Notification of comment by henbos
Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/2367#issuecomment-558261731 using your GitHub account

Received on Monday, 25 November 2019 17:37:07 UTC