kixelated / moq-rs

Rust library for Media over QUIC
Apache License 2.0
405 stars 60 forks source link

Add Subprotocol Negotiation headers upon accepting WebTransport connection #137

Open englishm opened 6 months ago

englishm commented 6 months ago

Subprotocol Negotiation offers a way to denote that we're running MoQ over WebTransport (similar to what we can do with ALPN in the case of raw QUIC).

I propose we adopt the same string here as for an ALPN value (the current draft says 'moq-00').

We can add support for this on the server side now, but it won't be useful until the browser WebTransport constructor has a way to signal this, too.

Relates to: https://github.com/kixelated/moq-js/issues/94