Enable rtc::Socket::OPT_RECV_ECN socket option
Enable rtc::Socket::OPT_RECV_ECN socket option by field trial WebRTC-RFC8888CongestionControlFeedback. Bug: webrtc:15368 Change-Id: I9befbbb59745c0fc9528bf948ad2cfc90efe226b Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/357920 Reviewed-by: Harald Alvestrand <hta@webrtc.org> Reviewed-by: Florent Castelli <orphis@webrtc.org> Reviewed-by: Danil Chapovalov <danilchap@webrtc.org> Commit-Queue: Danil Chapovalov <danilchap@webrtc.org> Cr-Commit-Position: refs/heads/main@{#42726}
This commit is contained in:
parent
916bf2f260
commit
303113a620
@ -773,6 +773,13 @@ void P2PTransportChannel::ParseFieldTrials(
|
||||
if (!ice_field_trials_.enable_goog_delta) {
|
||||
stun_dict_writer_.Disable();
|
||||
}
|
||||
|
||||
if (field_trials->IsEnabled("WebRTC-RFC8888CongestionControlFeedback")) {
|
||||
int desired_recv_esn = 1;
|
||||
RTC_LOG(LS_INFO) << "Set WebRTC-RFC8888CongestionControlFeedback: Enable "
|
||||
"and set ECN recving mode";
|
||||
SetOption(rtc::Socket::OPT_RECV_ECN, desired_recv_esn);
|
||||
}
|
||||
}
|
||||
|
||||
const IceConfig& P2PTransportChannel::config() const {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user