Re: [webrtc-pc] Superfluous union in addIceCandidate.

@jan-ivar That is correct, but there may be some other archeological remains to be sorted out.
Do you recall why `RTCIceCandidate` was defined as an interface instead of a dictionary (as it is in ORTC)?

I seem to recall that the union arose from the desire to enable existing implementations to continue to work while moving toward `RTCIceCandidate` as the argument to ICE-related methods.  But if `RTCIceCandidate` had been a dictionary, would this have been needed??

I would note that extension specifications such as WebRTC-ICE utilize `RTCIceCandidate` as an argument to added methods (see: https://w3c.github.io/webrtc-ice/), so I'd like to figure out whether this change has implications for other specification as well.

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

Received on Monday, 6 August 2018 22:45:45 UTC