Re: [webrtc-pc] Make candidate argument in RTCPeerConnection#addIceCandidate non-nullable

This option was added to mirror the "end of candidates = null 
candidate" from onicecandidate.
This allows doing "take whatever comes out of the icecandidate event 
and pass it into the other end's addIceCandidate, without checking if 
it's null or not", which apparently some people have been doing.

Apparently no browser treats the null end-of-candidate marker 
specially, and we've got a PR going in that doesn't use null 
candidates any more (instead it uses a candidate with a null candidate
 member), so the ability to null might not be relevant any more.

@taylor-b could comment further on what he thinks the status is; 
@pthatcherg is likely interested.

-- 
GitHub Notification of comment by alvestrand
Please view or discuss this issue at 
https://github.com/w3c/webrtc-pc/pull/969#issuecomment-267098846 using
 your GitHub account

Received on Wednesday, 14 December 2016 17:30:37 UTC