W3C home > Mailing lists > Public > public-webrtc-logs@w3.org > March 2017

Re: [webrtc-pc] Can candidate.ufrag be null?

From: Lennart Grahl via GitHub <sysbot+gh@w3.org>
Date: Thu, 16 Mar 2017 21:12:59 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-287192708-1489698777-sysbot+gh@w3.org>
> Dictionary members are optional by default, unless they say "required".

Okay.

> So we could do the same thing for ufrag, and then we could just say "if ufrag is null" rather than "neither undefined nor null".

But an `RTCIceCandidateInit` can also be passed to `addIceCandidate`, right? And as the member is optional, checking for `undefined` would still be required.

Issue can be closed from my side. :)

-- 
GitHub Notification of comment by lgrahl
Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/1078#issuecomment-287192708 using your GitHub account
Received on Thursday, 16 March 2017 21:13:05 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 9 October 2019 15:14:52 UTC