Re: [webrtc-pc] ICE restart deserves a first-class API. (#2167)

I think restartIce() is a nicer API than createOffer({restartIce:true}) for the ONN reasons mentioned here. It's an action that requires negotiation, and all other things that fall into this category cause ONN. But I do think O/A is inherently a fragile API regardless due to signaling state surprises (what if SRD(offer) happens between createOffer() and setLocalDescription(offer)?), so I'm not sure this will ever be "perfect". As always there is a balance between how much effort we want to spend making things nicer versus how much we want to reach 1.0.

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

Received on Wednesday, 10 April 2019 14:17:03 UTC