Thanks — you're asking for migration/integration approaches when you need QUIC/WebTransport while using LiveKit (which does not support WebTransport for media). Below are concise options you can use depending on whether you need QUIC for data, ingress, or full media paths.
1) Use WebTransport for signaling (keep LiveKit media)
• Run a WebTransport endpoint that accepts client connections.
• Translate WebTransport streams/messages to LiveKit’s WebSocket/Protocol Buffer signaling for the room/session.
• Keeps LiveKit’s SRTP/WebRTC media path unchanged while benefiting from QUIC features for signaling.
2) Ingest WebTransport media via an edge proxy (convert to WebRTC for LiveKit)
• Deploy an edge proxy that accepts client media over WebTransport.
• Decode or transmux the media and publish it into LiveKit as a standard WebRTC ingress (or via supported ingest like WHIP/RTMP if applicable).
• LiveKit then handles distribution using its SFU to other participants.
3) Hybrid architecture: LiveKit for media, WebTransport for high-throughput data
• Continue using LiveKit for real-time audio/video.
• Run separate WebTransport services for game state, large file transfer, or telemetry that require QUIC properties.
• Coordinate using LiveKit participant IDs and room events so both systems remain synchronized.
4) Relay/cascade approach for multi-SFU or edge aggregation
• If you need QUIC between datacenters/edges, keep internal SFU links on LiveKit’s SRTP-based relay and use WebTransport only at the client ↔️ edge boundary with a local proxy that converts to WebRTC for the SFU mesh.
Practical notes to plan:
• You’ll need an edge/proxy component to translate protocols (signaling or media) between WebTransport and LiveKit’s WebRTC stack.
• Expect added complexity: media transcoding/transmuxing, session mapping, auth propagation, and extra latency overhead at the proxy.
• Use this when QUIC-specific benefits (connection migration, reduced head-of-line blocking, firewall behavior) are essential at the client edge.
If you tell me which scenario you care about most (signaling only, client-to-edge media ingest, full media conversion, or hybrid data+media), I can outline a concrete architecture and the key implementation steps.
Sources:
How We Built a Globally Distributed WebRTC Mesh Network |
pkg/transport/createmux.go |
Platform Architecture & Protocol | livekit/livekit_composite | DeepWiki |
Stream import | LiveKit docs