
Some live displays can skip obsolete updates. Unreliable datagrams trade delivery guarantees for an application-level model that accepts loss and reordering. The browser interface at the center of this behavior is WebTransportDatagramDuplexStream.
Where the device meets the page
Before you change an application to depend on WebTransportDatagramDuplexStream, define its smallest successful interaction. A good test has an observable starting condition and an outcome someone else can recognize. A screenshot of the controls establishes their appearance. Run the interaction to establish what the implementation actually delivers.
Try the difficult case first
Send timestamped synthetic positions and introduce a gap in their sequence. Confirm that the receiver displays the latest valid position without waiting indefinitely.
Capture one baseline run before changing the device configuration. For the second run, change just the condition under investigation and repeat the same action. This is especially helpful when a browser update, a peripheral change and an application release all arrive in the same week.
Check the individual members
The compatibility record for a whole interface can predate a particular capability. The implementation decision for WebTransportDatagramDuplexStream depends on which member the application actually uses. Read the three desktop entries in order: Chrome, Firefox, then Safari.
createWritable— no support recorded, version 155, version 26.4.incomingHighWaterMark— version 97, conditional or historical entry, conditional or historical entry.incomingMaxAge— version 97, version 114, version 26.4.
Which browsers record support for WebTransportDatagramDuplexStream?
All six browser families in the table have an unprefixed entry without a flag or a partial-implementation marker for this interface. The earliest recorded versions differ across families. A broad row of positive entries still leaves individual members, device access and platform limits to examine.
| Browser family | First recorded standard entry |
|---|---|
| Chrome desktop | Version 97 |
| Firefox desktop | Version 114 |
| Safari on macOS | Version 26.4 |
| Chrome on Android | Version 97 |
| Firefox on Android | Version 114 |
| Safari on iOS | Version 26.4 |
Source snapshot: MDN Browser Compatibility Data 8.1.10, 19 November 2026. “Version” is the first recorded entry in this comparison. Individual methods can have later introduction dates.
What to ship alongside the feature
Send important setup and durable state over an appropriate reliable channel. A datagram payload still needs versioning and size limits.
typeof globalThis.WebTransportDatagramDuplexStream !== "undefined"This expression checks the interface or property in the current JavaScript environment. A positive answer does not run the device test above. Consult the member-level entries for createWritable, incomingHighWaterMark, incomingMaxAge when any of them is a requirement.
Sources and further reading
- WebTransportDatagramDuplexStream reference and member details
- Interface specification
- MDN compatibility data, version 8.1.10
Cover photograph: SZTE-JATIK, switch by Xbspiro. CC BY-SA 3.0. Cropped and typeset for this cover. The photograph illustrates the topic. This image adaptation uses the same share-alike license.
