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

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

From: Bernard Aboba via GitHub <sysbot+gh@w3.org>
Date: Sun, 19 Mar 2017 04:18:39 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-287593338-1489897117-sysbot+gh@w3.org>
Looking  at the description of `addIceCandidate`, the `candidate` argument is tested for being null:

If candidate is not null and both sdpMid and sdpMLineIndex are null, return a promise rejected with a newly created TypeError.

Did we forget to clean this up?

Also, there is a legacy `addIceCandidate` method in Section   Does this legacy method behave the same way with respect to the candidate argument?

GitHub Notification of comment by aboba
Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/1077#issuecomment-287593338 using your GitHub account
Received on Sunday, 19 March 2017 04:18:45 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:21:29 UTC