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

> 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