Re: [webrtc-pc] Add pc.restartIce() method. (#2169)

> If this is a real problem, one way to solve it would be to say that [[RestartIce]] is not a boolean, but an enum with value "not-needed", "needed-when-stable" and "needed". restartIce() would cause its value to change to "needed" except if an O/A is already pending, in which case it becomes "needed-when-stable". If "needed-when-stable", whenever we reach the stable signaling state we set it to "needed".

Note that in this proposal, calling restartIce() 10 times in a row does not cause 10 onnegotiationneeded; it does however ensure that there will be a negotiation needed as a consequence of the call, even if we are currently negotiating old credentials. It does not queue up multiple calls, but it says that currently negotiating is not good enough for our restart.

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

Received on Wednesday, 10 July 2019 08:37:53 UTC