Skip to content

@caprid/relay-websocket

@caprid/relay-websocket: the Relay SDK’s transport adapter for QMux over WebSocket. It carries MOQT on QMux (draft-ietf-quic-qmux, wire format qmux-01) inside one WebSocket connection over TCP, the relay’s fallback for networks that block UDP and browsers without a usable WebTransport. It follows the transport adapter contract (spec/transport-adapter.md), with the deviations the contract records for it.

Pass either factory as the SDK’s createTransport.