Skip to content
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

[WebRTC] RTCIceTransport.html : dependency on SctpTransport #9111

Closed
aboba opened this issue Jan 19, 2018 · 2 comments
Closed

[WebRTC] RTCIceTransport.html : dependency on SctpTransport #9111

aboba opened this issue Jan 19, 2018 · 2 comments
Labels

Comments

@aboba
Copy link
Contributor

aboba commented Jan 19, 2018

The purpose of https://github.com/w3c/web-platform-tests/blob/master/webrtc/RTCIceTransport.html is to test the RTCIceTransport interface. However, because it depends upon support for the RTCSctpTransport interface, on a browser that does not support RTCSctpTransport, but does support RTCIceTransport, the tests will fail, regardless of how the RTCIceTransport interface is implemented.

A better design would be to first test for support of the RTCIceTransport object, and then if it is supported, test for support of other objects (e.g. DtlsTransport, RtpSender, RtpReceiver, SctpTransport). Based on these results, an IceTransport could be obtained so to allow other tests to be run. For example, on a browser that supports IceTransport, DtlsTransport and RtpReceiver, receiver.transport.transport could be used to obtain access to an IceTransport.

@dontcallmedom
Copy link
Contributor

given that this would have only provided different results in old Edge, and unless it becomes clear it would help with Firefox or Safari, I'm inclined to close this issue

@aboba
Copy link
Contributor Author

aboba commented Dec 18, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants