-
Notifications
You must be signed in to change notification settings - Fork 21
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
WebTransport #18
Comments
I wonder if this could be built as an extension of the WebSocket API instead? It seems like an anti-pattern for each distinct network protocol to have a disjoint web-exposed API, even when the purpose is broadly similar. (I suppose one advantage of this way is that it's easy to feature-test client-side for support for the Web Transport protocol). |
I think it’s pretty unfortunate that WebSocket, WebTransport, and some communication parts of WebRTC all seem to have overlapping goals and designs, and yet seem to have been developed completely in isolation from each other. |
cc @youennf |
Some parts could have been done this way but the WebSocket API is rather old. Some functionalities are beyond WebSocket also (datagrams) so it would have been difficult to reuse WebSocket API.
We gave that feedback (initially the API was prefixed by QUIC for instance) and this was taken into account.
That is not entirely true. RTCDataChannel for instance is duck typing the WebSocket API for instance. WebRTC is a high level API that provides limited control on what happens on the network, but the defaults are pretty good and it works consistently. |
For performance reasons, the WebTransport API intentionally did not use the message approach of WebSockets and RTCDataChannel. A problem was found in the WebSocket and RTCDataChannel specification which manifests in low-end devices such as mobile devices or game consoles. When the application's |
I propose we label this
|
Request for position on an emerging web specification
Information about the spec
Design reviews and vendor positions
Bugs tracking this feature
Anything else we need to know
Chrome added their prototype support to it on version 97: https://chromestatus.com/feature/4854144902889472
The text was updated successfully, but these errors were encountered: