Use SCTP default congestion control instead of H-TCP

This commit is contained in:
Murat Doğan
2021-03-07 17:54:26 +03:00
committed by Paul-Louis Ageneau
parent 4642504b83
commit 0813976a5a

View File

@ -81,8 +81,9 @@ void SctpTransport::Init() {
usrsctp_sysctl_set_sctp_max_chunks_on_queue(10 * 1024);
// Change congestion control from the default TCP Reno (RFC 2581) to H-TCP
usrsctp_sysctl_set_sctp_default_cc_module(SCTP_CC_HTCP);
// Use default congestion control (RFC 4960)
// See https://github.com/paullouisageneau/libdatachannel/issues/354
usrsctp_sysctl_set_sctp_default_cc_module(0);
// Enable Partial Reliability Extension (RFC 3758)
usrsctp_sysctl_set_sctp_pr_enable(1);