WebRTC
The read-only RTCDataChannel property
maxPacketLifeTime returns the amount of time, in
milliseconds, the browser is allowed to take to attempt to transmit a message, as set
when the data channel was created, or null. This limits how long
the browser can continue to attempt to transmit and retransmit the message before giving
up.
Value
The number of milliseconds over which the browser may continue to attempt to transmit
the message until it either succeeds or gives up. If not set when
RTCPeerConnection.createDataChannel() was called to create the data
channel, this value is null.
Specifications
Browser compatibility
See also
- WebRTC
- RTCDataChannel
- RTCDataChannel.maxRetransmits
- RTCPeerConnection.createDataChannel()
来源:MDN Web Docs / Mozilla 贡献者 · 作者与贡献记录 · CC BY-SA 2.5。离线整理了版式、链接和媒体显示。
