Skip to main content

MOQT_ALPN

Constant MOQT_ALPN 

Source
pub const MOQT_ALPN: &[u8] = b"moqt-20";
Expand description

The ALPN identifier draft-20 uses on raw QUIC, moqt-20.

Drafts 07 to 14 share one ALPN, moq-00, and a peer that offers it has said nothing about which of the eight it speaks. Draft-15 ended that: from there each draft has an ALPN of its own, so the version is settled by the TLS handshake before a byte of MoQT is written.

This is DraftVersion::Draft20’s own quic_alpn, which is what ClientConfig::alpn offers; the test below holds the two together.