Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(702)

Side by Side Diff: webrtc/call/call.cc

Issue 2262213002: Stop increasing loss-based BWE if no feedback is received. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rebase. Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | webrtc/modules/bitrate_controller/bitrate_controller_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
(...skipping 676 matching lines...) Expand 10 before | Expand all | Expand 10 after
687 bool inserted = result.second; 687 bool inserted = result.second;
688 if (inserted) { 688 if (inserted) {
689 // No need to reset BWE if this is the first time the network connects. 689 // No need to reset BWE if this is the first time the network connects.
690 return; 690 return;
691 } 691 }
692 if (kv->second != network_route) { 692 if (kv->second != network_route) {
693 kv->second = network_route; 693 kv->second = network_route;
694 LOG(LS_INFO) << "Network route changed on transport " << transport_name 694 LOG(LS_INFO) << "Network route changed on transport " << transport_name
695 << ": new local network id " << network_route.local_network_id 695 << ": new local network id " << network_route.local_network_id
696 << " new remote network id " << network_route.remote_network_id 696 << " new remote network id " << network_route.remote_network_id
697 << " Reset bitrate to " 697 << " Reset bitrates to min: "
698 << config_.bitrate_config.start_bitrate_bps << "bps"; 698 << config_.bitrate_config.min_bitrate_bps
699 << " bps, start: " << config_.bitrate_config.start_bitrate_bps
700 << " bps, max: " << config_.bitrate_config.start_bitrate_bps
701 << " bps.";
699 congestion_controller_->ResetBweAndBitrates( 702 congestion_controller_->ResetBweAndBitrates(
700 config_.bitrate_config.start_bitrate_bps, 703 config_.bitrate_config.start_bitrate_bps,
701 config_.bitrate_config.min_bitrate_bps, 704 config_.bitrate_config.min_bitrate_bps,
702 config_.bitrate_config.max_bitrate_bps); 705 config_.bitrate_config.max_bitrate_bps);
703 } 706 }
704 } 707 }
705 708
706 void Call::UpdateAggregateNetworkState() { 709 void Call::UpdateAggregateNetworkState() {
707 RTC_DCHECK(configuration_thread_checker_.CalledOnValidThread()); 710 RTC_DCHECK(configuration_thread_checker_.CalledOnValidThread());
708 711
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after
940 // thread. Then this check can be enabled. 943 // thread. Then this check can be enabled.
941 // RTC_DCHECK(!configuration_thread_checker_.CalledOnValidThread()); 944 // RTC_DCHECK(!configuration_thread_checker_.CalledOnValidThread());
942 if (RtpHeaderParser::IsRtcp(packet, length)) 945 if (RtpHeaderParser::IsRtcp(packet, length))
943 return DeliverRtcp(media_type, packet, length); 946 return DeliverRtcp(media_type, packet, length);
944 947
945 return DeliverRtp(media_type, packet, length, packet_time); 948 return DeliverRtp(media_type, packet, length, packet_time);
946 } 949 }
947 950
948 } // namespace internal 951 } // namespace internal
949 } // namespace webrtc 952 } // namespace webrtc
OLDNEW
« no previous file with comments | « no previous file | webrtc/modules/bitrate_controller/bitrate_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698