Re: [webrtc-pc] RTCIceCandidateInit has no required fields, so should probably be optional in addIceCandidate (#2125)

It seems to me that calling pc.addIceCandidate() being interpreted as an end-of-candidates signal is a violation of the principle of least surprise. Maybe we should make RTCIceCandidateInit.candidate required, and have the empty string convey its present meaning?

-- 
GitHub Notification of comment by docfaraday
Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/2125#issuecomment-472176889 using your GitHub account

Received on Tuesday, 12 March 2019 20:54:14 UTC