WebTransport 00:00:01 Enter a live match over HTTP/3 A racing game needs two kinds of delivery. A race result must arrive reliably. A car's newest position can be more useful than retransmitting the previous one. WebTransport can carry both within one client session. The browser's first packet starts both the QUIC connection and the TLS 1.3 handshake. The peers establish the secure connection and negotiate the necessary HTTP/3 and WebTransport capabilities in this example. The browser requests a WebTransport session for the match through the agreed extended CONNECT mechanism. The service checks the origin and the player's permission to join before accepting the session. Both sides may now open streams and send datagrams. The CONNECT stream stays open for as long as the session lives. The server must authorize entry to the match before attaching the session to player state. Negotiating a transport establishes a channel, not a player's identity or right to join. 00:01:03 Choose a delivery contract for each message The player joins, uploads a replay, and sends frequent positions. Pick the module within the transport that matches each piece of information's ordering and reliability needs. It must arrive and a reply is expected. It goes on a bidirectional stream. Send the replay on a separate reliable unidirectional stream. A missing replay byte does not impose its ordering requirement on the join stream. A small position update with sequence forty-one can use a datagram when a newer one will supersede it shortly. Position forty-two is lost. Position forty-three is still useful, and the game drops older coordinates according to its sequence rule. Three kinds of delivery share one encrypted connection and one congestion controller. Separate streams reduce some cross-stream waiting, while congestion control still shares the underlying network capacity. An oversized replay can compete for bandwidth with live updates. 00:02:04 Lose the second packet Compare one ordered channel, two independent reliable streams, and unreliable datagrams for the same illustrated loss. The timing values describe this teaching trace. Three belong to the chat, two to an image. Times are in milliseconds. Retransmission takes one round trip. The missing packet arrives at one hundred thirty milliseconds. The other packets arrive on time. Packets three, four and five are already in memory. On the single ordered channel they all wait until one hundred thirty milliseconds for packet two. The chat is read on time. Packet 4 belongs to the image's stream, so it waits for packet 2. Packet 2 never comes. Everything else is read when it arrives. Right for positions, wrong for an image. A stream is appropriate for a file that needs all its bytes. A datagram can suit a current position. The application must decide whether a missing message should delay later ones. 00:03:09 Change from Wi-Fi to mobile The phone changes network address mid-match. QUIC can preserve a connection across some path changes if the endpoints and load balancer support it. The balancer initially routes packets with this connection identifier to the first game server. The phone is now on mobile data with a new address. It keeps using a connection ID Server 1 knows. In the compatible path, connection-aware routing finds the previous server and QUIC validates the new network path. The client opens a new session with its resume token and its last sequence number. This path must exist anyway. Always provide an application resume path. A session token and last confirmed state can recover the game even if routing changes or the previous server is unavailable. 00:03:56 Join from a network without a working UDP path Some clients cannot establish the preferred transport. Try within a bounded time and fall back to a supported channel. Otherwise the player never reaches the match to benefit from your ideal design. The browser sends UDP packets to port 443. The firewall drops them. There is no error to read, only no answer. The same messages go over one ordered pipe. Positions may stutter; results still arrive. The example caches a recent fallback for a limited time to avoid repeating a slow failed negotiation on every join. Define what survives the fallback. A reliable result should still arrive, while position updates need bounded queues to keep stale coordinates from piling up on an ordered connection.