W3C home > Mailing lists > Public > public-webrtc-logs@w3.org > July 2019

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

From: henbos via GitHub <sysbot+gh@w3.org>
Date: Wed, 10 Jul 2019 08:37:51 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-509967900-1562747869-sysbot+gh@w3.org>
> 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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:22:25 UTC