RTCDataChannelInit.maxPacketLifeTime
- Category
- WebRTC
- Type
- New or changed feature
- Status
- In development (Chrome In development)
- Intent stage
- None
Summary
The RTCDataChannelInit.maxRetransmitTime dictionary member is being renamed to maxPacketLifeTime. This member is used to construct an unreliable data channel, which will stop attempting to retransmit a message after "maxPacketLifeTime" milliseconds. An unreliable data channel may be used to, for example, send non-critical information to a user about the reason for a state update in a video chat or conference.
Standards & signals
- Specification: https://www.w3.org/TR/webrtc/
- Firefox: No signal
- Safari: No signal
- Web developers: Positive
- Tracking bug: https://bugs.chromium.org/p/chromium/issues/detail?id=696681
Ecosystem
- Web Platform Tests: https://wpt.fyi/results/?q=rtcdatachannelinit-maxpacketlifetime
- Chrome Platform Showcase: https://chrome-platform-showcase.paulkinlan-ea.deno.net/features
- GenDN reference: https://gendn.paulkinlan-ea.deno.net/features
- chrome.dev demos search: https://www.google.com/search?q=site%3Achrome.dev+RTCDataChannelInit.maxPacketLifeTime
- MDN Web Docs: https://developer.mozilla.org/en-US/search?q=RTCDataChannelInit.maxPacketLifeTime
- Baseline status: https://webstatus.dev/?q=RTCDataChannelInit.maxPacketLifeTime
Docs: https://www.w3.org/TR/webrtc/#dom-rtcdatachannelinit-maxpacketlifetime