Skip to content
This repository was archived by the owner on Oct 23, 2024. It is now read-only.

Commit 3b13bd2

Browse files
committed
Add a guide for WebTransport.
1 parent 7d22e49 commit 3b13bd2

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

doc/servermd/WebTransportGuide.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Open WebRTC Toolkit WebTransport Support
2+
3+
## Overview
4+
5+
Open WebRTC Toolkit (OWT) added [WebTransport](https://w3c.github.io/webtransport/) over [QUIC](https://tools.ietf.org/html/draft-ietf-quic-transport-32) support since 5.0. At this moment, it only supports simple data forwarding.
6+
7+
WebTransport over other protocols are not support.
8+
9+
## Streams
10+
11+
Similar to media streams, a stream for arbitrary data also supports `publish` and `subscribe`. A new property `data` is added to indicate if a stream is for arbitrary data. Media features like mixing and transcoding are not supported. If you develop client applications without OWT Client SDKs, please refer to [PR 125](https://github.com/open-webrtc-toolkit/owt-server/pull/125) for protocol changes and payload format. OWT JavaScript SDK and C++ SDK support streams for arbitrary data, please see API references of these two SDKs for newly added APIs. Basically, client side creates data streams, then `publish` and `subscribe` just as media streams. `streamadded` event also fires for data streams.
12+
13+
## QUIC agent
14+
15+
QUIC agent handles WebTransport connections from clients. It depends on [OWT QUIC SDK](https://github.com/open-webrtc-toolkit/owt-deps-quic). By default, it listens on 7700 port. Only one instance is running on a single machine or a docker environment.
16+
17+
## Roadmap
18+
19+
We are planning to support follow features, but we don't have an ETA so far.
20+
21+
- Signaling over QUIC. Instead of creating a WebSocket connection between a client and portal, we could use a WebTransport connection for both signaling and other data.
22+
- Media over QUIC. Sending and receiving audio and video data over QUIC instead of WebRTC.
23+
- Datagram support. Datagram support with FEC and NACK may help us to reduce the latency when sending media over QUIC.

0 commit comments

Comments
 (0)