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

Re: [webrtc-pc] Candidate from onicecandidate event and addIceCandidate are incompatible

From: Lennart Grahl via GitHub <sysbot+gh@w3.org>
Date: Mon, 20 Mar 2017 14:49:29 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-287782423-1490021368-sysbot+gh@w3.org>
> If `candidate` is not null and both `sdpMid` and `sdpMLineIndex` are null, return a promise rejected with a newly created TypeError.

It could be that `candidate` actually means the member `candidate` (`candidate.candidate`). Because the `sdpMid` and `sdpMLineIndex` in this context are also members of `candidate` but lack the `candidate.` prefix.

GitHub Notification of comment by lgrahl
Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/1077#issuecomment-287782423 using your GitHub account
Received on Monday, 20 March 2017 14:49:35 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 6 May 2023 21:19:40 UTC