Re: RTCSessionDescription and RTCIceCandidate

On 9/15/15 12:54 AM, Martin Thomson wrote:
> On 14 September 2015 at 20:05, Jan-Ivar Bruaroey <jib@mozilla.com> wrote:
>>    -  Promise<void> addIceCandidate (RTCIceCandidate candidate);
>>    +  Promise<void> addIceCandidate (optional RTCIceCandidateInit candidate);
> Why optional, out of interest?

  0:18.18 WebIDL.WebIDLError: error: Dictionary argument or union 
argument containing a dictionary not followed by a required argument 
must be optional, 
/Users/Jan/moz/mozilla-central/dom/webidl/RTCPeerConnection.webidl line 
105:53
  0:18.18   Promise<void> addIceCandidate (RTCIceCandidateInit candidate);
  0:18.18 ^

.: Jan-Ivar :.

Received on Tuesday, 15 September 2015 18:36:34 UTC