WebRTC RTCDataChannel - how to configure reliability?

I started RTCDataChannel and by default it ended up in unreliable mode.

I want to configure it for reliable delivery of guaranteed packet delivery, but there seems to be no settings for RTCDataChannelInit configuration.

 dictionary RTCDataChannelInit { boolean ordered = true; unsigned short maxPacketLifeTime; unsigned short maxRetransmits; DOMString protocol = ""; boolean negotiated = false; unsigned short id; }; 

In addition, RTCDataChannel.isReliable is a RTCDataChannel.isReliable -only property.

How to configure the channel in reliable mode?

+6
source share
1 answer

By default, a reliable channel is used. See specification , fourth paragraph in this section.

+7
source

All Articles