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

Open
aboba opened this issue Jan 19, 2018 · 0 comments

Comments

Projects
None yet
2 participants
@aboba
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.