websocketstream-explainer icon indicating copy to clipboard operation
websocketstream-explainer copied to clipboard

WebTransport

Open jesup opened this issue 2 years ago • 5 comments
trafficstars

What's the purpose of this, given WebTransport? That spec covers this usecase, and provides all sorts of additional benefits.

Where is the spec discussion on this?

Indications from major browsers?

jesup avatar Sep 26 '23 15:09 jesup

There's a lot of existing deployed infrastructure using the WebSocket protocol that can benefit from adopting this API. Adopting WebTransport requires new infrastructure.

As the WebSocket protocol is simpler than WebTransport, there may still be a place for it even after WebTransport is widely adopted, but we won't know for 10 years or so.

The explainer should be updated to cover these points, but I haven't done so yet.

There's isn't a spec discussion yet, because the spec isn't finished.

Similarly, I haven't asked for browser feedback yet.

ricea avatar Sep 27 '23 04:09 ricea

h3 is about 25% of all traffic currently, and rising (and H2 is near 50% and stable). WebTransport on H2 is coming. Please keep this aligned, api-wise, with WebTransport. Is this currently in Chrome, or was it removed after the origin trial 4 years ago? (The arguments for this are weaker given WebTransport's shipping status compared to back then.)

jesup avatar Sep 27 '23 16:09 jesup