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

Re: What should happen to the ICE gathering state when iceTransports is changed?

From: Bernard Aboba <Bernard.Aboba@microsoft.com>
Date: Mon, 14 Jul 2014 18:39:19 +0000
To: "public-webrtc@w3.org" <public-webrtc@w3.org>
Message-ID: <0fd6e3bf8a1143ae9abad6adf60e88cf@SN2PR03MB031.namprd03.prod.outlook.com>
Link: http://lists.w3.org/Archives/Public/public-webrtc/2014Jun/0029.html

Out of curiosity, what should happen if a more restrictive gathering policy is put in place before gathering is complete? 

The flow goes something like:
- new PC({iceTransports: 'all'})
- setRD(offer)
- createAnswer
- setLD(answer)
- onicegatheringstatechange(gathering)
- onicecandidate(relay1)
- onicecandidate(relay2)
- Possibility A: setConfiguration({iceTransports: 'relay'})
- onicecandidate(null)
- onicegatheringstatechange(complete)
- Possbility B: setConfiguration({iceTransports: 'relay'})


Personally, I like Option 3 for this as well (e.g. don't implement the new policy before the next ICE restart).  
Received on Monday, 14 July 2014 18:40:11 UTC

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 15:19:41 UTC