W3C home > Mailing lists > Public > public-webrtc@w3.org > September 2015

Re: RTCSessionDescription and RTCIceCandidate

From: Jan-Ivar Bruaroey <jib@mozilla.com>
Date: Tue, 15 Sep 2015 14:36:05 -0400
To: Martin Thomson <martin.thomson@gmail.com>
Cc: Harald Alvestrand <harald@alvestrand.no>, "public-webrtc@w3.org" <public-webrtc@w3.org>
Message-ID: <55F86515.7020201@mozilla.com>
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

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