W3C home > Mailing lists > Public > public-webrtc@w3.org > March 2021

[webrtc-pc] Add RTOMax to RTCDataChannelInit (#2629)

From: benny daon via GitHub <sysbot+gh@w3.org>
Date: Tue, 09 Mar 2021 16:38:08 +0000
To: public-webrtc@w3.org
Message-ID: <issues.opened-826222906-1615307887-sysbot+gh@w3.org>
daonb has just created a new issue for https://github.com/w3c/webrtc-pc:

== Add RTOMax to RTCDataChannelInit ==
I am developing a terminal app that uses data channels to connect to a remote shell. While my hosted server is local with RTT of ~15ms my home network is slow - 30Mbps download, 3Mbps upload - and congested.  I'm sharing it with my two daughters who were in lockdown and they were both using zoom.

Still, the terminal performed very poorly. I opened an issue with pion - pion/sctp#181 - and the discussion there taught me SCTP retransmit timeout is backing off exponentially with a cap of 60 seconds. For my app this is unacceptable. I'm hitting a key and I expect to see it on the terminal in real time. If it fails, I want to quickly retransmit, 2-3 seconds max.

SCTP's RFC provides a way to limit the retransmission timeout (RTO):

> c7) A maximum value may be placed on RTO provided it is at least RTO.max seconds

In WebRTC RTOMax is a constant with a recommendation to set it at 60 seconds. I need  an `RTOMax` field in `RTCDataChannelInit` so I can ensure timely retransmissions.

Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/2629 using your GitHub account

Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 9 March 2021 16:38:10 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 9 March 2021 16:38:11 UTC