WebTransport Send Priorities Land in Chrome 159
Chrome 159 reached beta on November 12, 2026, carrying a WebTransport update that has been missing since the API shipped: real control over what gets sent first. Stable is scheduled for December 8, 2026, and two additions matter to anything realtime — a new writable stream for datagrams, and send groups that decide which bytes go ahead of which on the same connection.
The problem: every byte was equal
WebTransport opens a channel over HTTP/3 with two transport modes: streams that are reliable and ordered, and datagrams that are unreliable and faster. In a game, a call, or a live dashboard, both run at once — datagrams carry per-frame state, streams carry the files and messages that cannot be dropped.
The transport was blind to that distinction. Bytes left in the order they reached the queue, so the moment a large stream started — an image, a state snapshot, an audio chunk — it competed with latency-sensitive datagrams for the same bandwidth, and users felt it as lag at the worst possible moment. There was no standard way to tell the transport that one payload outranks another. The older datagrams.writable was a single fixed property per transport, so there was nowhere to put a priority even if you had one.
What changed
Chrome 159 adds two linked pieces, both from the W3C specification (Editor's Draft dated November 4, 2026):
- `datagrams.createWritable(options)` returns a fresh
WebTransportDatagramsWritableon every call, replacing the now-deprecatedwritableproperty. Each writable carries its own priority, so datagram paths can be separated inside one transport. - `transport.createSendGroup()` creates a group. Inside it,
sendOrderon each stream or datagram writable decides who gets bandwidth first. Higher values are sent ahead of lower ones; the default is0, and the default group isnull.
The architectural shift is where the decision lives. Previously the application had to build its own queue, watch writer.ready, and defer writes by hand — a guess made on incomplete information, since the application cannot see the congestion window. Now intent is declared once, at stream creation, and the layer that actually knows the network state does the ordering. Less code, better decisions.
The same release also brings per-stream getStats(), exportKeyingMaterial() for session-bound key material, a congestionControl constructor option, and datagramsReadableType: "bytes" for reading datagrams as a byte stream into consumer-supplied buffers.
A practical example
const transport = new WebTransport("https://example.com/wt");
await transport.ready;
// One group: priority is relative within it
const group = transport.createSendGroup();
// Player state: small, frequent, latency-sensitive
const state = transport.datagrams.createWritable({
sendGroup: group,
sendOrder: 10,
});
// Assets: large, can wait
const assets = await transport.createUnidirectionalStream({
sendGroup: group,
sendOrder: 1,
});
const writer = state.getWriter();
await writer.ready;
writer.write(new Uint8Array([1, 2, 3])).catch(() => {});
// Per-stream accounting
const { bytesSent, bytesAcknowledged } = await assets.getStats();
console.log(`Awaiting acknowledgement: ${bytesSent - bytesAcknowledged}`);State bytes now go ahead of asset bytes within the group, without the application managing a queue of its own.
Real-world caveats
- Priority is not a delivery guarantee. Datagrams stay unreliable: ordering by priority does not promise that every datagram arrives, or that they arrive in any particular order.
- Different groups are treated as equals.
sendOrderonly compares inside the samesendGroup; how bandwidth is divided between groups is implementation-defined. - Expected errors: passing a
sendGroupthat belongs to another transport throwsTypeError, and calling on a transport whose state isclosedorfailedthrowsInvalidStateError. - Availability is limited. These are Chromium APIs today, specified in an Editor's Draft that may still change, so a check before use is not optional:
const canPrioritize = typeof transport.datagrams.createWritable === "function";Takeaway
This update does not make the network faster. It gives the application a vocabulary for its own intent, and moves the ordering decision out of application code into the layer that holds the information. Anyone building on WebTransport with a hand-rolled queue can now delete that queue — while keeping a fallback path for browsers that have not caught up. And with Chrome shipping every two weeks, the gap between beta and production is too short to put off.
Primary source: the Chrome 159 release notes, alongside the W3C WebTransport specification.