web-platform-tests / interop

web-platform-tests Interop project
https://wpt.fyi/interop
280 stars 28 forks source link

WebTransport API #549

Closed o-t-w closed 7 months ago

o-t-w commented 11 months ago

Description

An API particularly useful for gaming and livestreaming. Unlike older APIs, WebTransport enables unreliable datagrams, for data that is useless if it is late. Similar to WebSockets but with a modern API that uses streams.

Specification

https://www.w3.org/TR/webtransport/

Open Issues

No response

Tests

https://wpt.fyi/results/webtransport?label=master&label=experimental&aligned&q=webtransport

Current Implementations

Standards Positions

WebKit have expressed a supportive position on the standard.

Browser bug reports

No response

Developer discussions

No response

Polls & Surveys

It was not included in last years State of JS survey. In the MDN APIs & JavaScript survey, WebTransport was selected by ~11% of survey takers.

Existing Usage

Usage is currently low, which is not that surprising seeing as it is not implemented in Safari.

Before it was shut down, it was used by Google Stadia: “Google Stadia is using the WebTransport API in conjunction with the WebCodecs API for several use cases, both internally and with partners. The underlying WebTransport protocol, QUIC, has far greater throughput and resiliency characteristics than other mechanisms available, which enables use cases like webcams, and transmission of results of browser-based processing to applications and games in the cloud. The capability to transmit datagrams to cloud endpoints enables many new use cases for Stadia including communication with custom hardware endpoints. In the future we hope to explore using this API for other use cases.”

Workarounds

No response

Accessibility Impact

No response

Privacy Impact

No response

Other

No response

foolip commented 11 months ago

If this proposals makes it through the selection process there are some newer parts of the API like sendOrder that we'd prefer to exclude from scope.

mehagar commented 10 months ago

FWIW Webkit is implementing WebTransport now: https://github.com/WebKit/WebKit/pull/17320

nairnandu commented 7 months ago

Thank you for proposing WebTransport API for inclusion in Interop 2024.

We wanted to let you know that this proposal was not selected to be part of Interop 2024. This is because we got many more proposals than we could include in this year's project. Note that individual vendors may nevertheless choose to advance work in this area during the forthcoming year. We would welcome this proposal being resubmitted again next year, if necessary.

For an overview of our process, see proposal selection. Thank you again for contributing to Interop 2024!

Posted on behalf of the Interop team.