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

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

From: henbos via GitHub <sysbot+gh@w3.org>
Date: Wed, 10 Apr 2019 14:17:02 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-481709826-1554905820-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.3.1 : Tuesday, 4 June 2019 15:32:56 UTC