mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-13 05:40:42 +01:00
Remove unused WebRTC-Bwe-InjectedCongestionController
Instead, PeerConnectionFactoryDependencies.network_controller_factory is used if it exists. Bug: webrtc:8415 Change-Id: I37d5cc7325072bf1d87993e53949f1b97c277f55 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/347860 Reviewed-by: Björn Terelius <terelius@webrtc.org> Commit-Queue: Per Kjellander <perkj@webrtc.org> Cr-Commit-Position: refs/heads/main@{#42120}
This commit is contained in:
parent
299b285696
commit
c95cb6bd3e
2 changed files with 2 additions and 6 deletions
|
@ -502,9 +502,6 @@ POLICY_EXEMPT_FIELD_TRIALS: FrozenSet[FieldTrial] = frozenset([
|
|||
FieldTrial('WebRTC-Bwe-InitialProbing',
|
||||
'webrtc:10394',
|
||||
date(2024, 4, 1)),
|
||||
FieldTrial('WebRTC-Bwe-InjectedCongestionController',
|
||||
'webrtc:8415',
|
||||
INDEFINITE),
|
||||
FieldTrial('WebRTC-Bwe-LimitProbesLowerThanThroughputEstimate',
|
||||
'webrtc:11498',
|
||||
date(2024, 4, 1)),
|
||||
|
@ -884,7 +881,7 @@ POLICY_EXEMPT_FIELD_TRIALS: FrozenSet[FieldTrial] = frozenset([
|
|||
]) # yapf: disable
|
||||
|
||||
POLICY_EXEMPT_FIELD_TRIALS_DIGEST: str = \
|
||||
'263c7a29291a7c4472ff60c7c3b2520f6dd5cea8'
|
||||
'0b9e14e036ffd4b96ef5e4d6a6aa67b6a1eff11f'
|
||||
|
||||
REGISTERED_FIELD_TRIALS: FrozenSet[FieldTrial] = ACTIVE_FIELD_TRIALS.union(
|
||||
POLICY_EXEMPT_FIELD_TRIALS)
|
||||
|
|
|
@ -335,14 +335,13 @@ std::unique_ptr<Call> PeerConnectionFactory::CreateCall_w(
|
|||
network_state_predictor_factory_.get();
|
||||
call_config.neteq_factory = neteq_factory_.get();
|
||||
|
||||
if (IsTrialEnabled("WebRTC-Bwe-InjectedCongestionController")) {
|
||||
if (injected_network_controller_factory_) {
|
||||
RTC_LOG(LS_INFO) << "Using injected network controller factory";
|
||||
call_config.network_controller_factory =
|
||||
injected_network_controller_factory_.get();
|
||||
} else {
|
||||
RTC_LOG(LS_INFO) << "Using default network controller factory";
|
||||
}
|
||||
|
||||
call_config.rtp_transport_controller_send_factory =
|
||||
transport_controller_send_factory_.get();
|
||||
call_config.decode_metronome = decode_metronome_.get();
|
||||
|
|
Loading…
Reference in a new issue