-
Notifications
You must be signed in to change notification settings - Fork 42
RTCIceCandidate.tcpType for UDP candidates #608
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
In WebRTC it's just optional, I think that makes the most sense. |
Making it optional would be inconsistent regarding |
But in general, I agree that ORTC should mimic |
I forgot; in the WebRTC spec, RTCIceCandidate is an interface rather than a dictionary, so the only option is to have nullable attributes. So it's hard to draw an exact parallel. But |
Oh, thanks, that explains it. |
@lgrahl The optionality of the three fields can be made clear by adding "required" to the other fields. |
Which
RTCIceTcpCandidateType
should aRTCIceCandidate
withudp
protocol have?Should the field be optional? Should it be empty string or
null
for UDP candidates? The spec should describe that.The text was updated successfully, but these errors were encountered: