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

Re: RTCSessionDescription and RTCIceCandidate

From: Stefan Håkansson LK <stefan.lk.hakansson@ericsson.com>
Date: Wed, 23 Sep 2015 09:05:50 +0000
To: Dominique Hazael-Massieux <dom@w3.org>, Jan-Ivar Bruaroey <jib@mozilla.com>, Martin Thomson <martin.thomson@gmail.com>
CC: Harald Alvestrand <harald@alvestrand.no>, "public-webrtc@w3.org" <public-webrtc@w3.org>
Message-ID: <1447FA0C20ED5147A1AA0EF02890A64B3734D417@ESESSMB209.ericsson.se>
On 18/09/15 10:06, Dominique Hazael-Massieux wrote:
> On 15/09/2015 20:36, Jan-Ivar Bruaroey wrote:
>> 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,
>
> Rather than make the argument optional (which is awkward in this case),

Agree.

> we would make the "DOMString candidate" member of RTCIceCandidateInit
> required

It already is IIUC.

> (which removes the obligation of having dictionary arguments be
> optional).
>
> Dom
>
>
Received on Wednesday, 23 September 2015 09:06:20 UTC

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