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

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

Issue 1411673003: Added protobuf message for loss-based BWE events, and wired it up to the send side bandwidth estima… (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rebase Created 5 years, 1 month 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/call/rtc_event_log.h » ('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 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 } 161 }
162 162
163 Trace::CreateTrace(); 163 Trace::CreateTrace();
164 module_process_thread_->Start(); 164 module_process_thread_->Start();
165 module_process_thread_->RegisterModule(call_stats_.get()); 165 module_process_thread_->RegisterModule(call_stats_.get());
166 166
167 congestion_controller_->SetBweBitrates( 167 congestion_controller_->SetBweBitrates(
168 config_.bitrate_config.min_bitrate_bps, 168 config_.bitrate_config.min_bitrate_bps,
169 config_.bitrate_config.start_bitrate_bps, 169 config_.bitrate_config.start_bitrate_bps,
170 config_.bitrate_config.max_bitrate_bps); 170 config_.bitrate_config.max_bitrate_bps);
171
172 congestion_controller_->GetBitrateController()->SetEventLog(event_log_);
171 } 173 }
172 174
173 Call::~Call() { 175 Call::~Call() {
174 RTC_DCHECK(configuration_thread_checker_.CalledOnValidThread()); 176 RTC_DCHECK(configuration_thread_checker_.CalledOnValidThread());
175 RTC_CHECK(audio_send_ssrcs_.empty()); 177 RTC_CHECK(audio_send_ssrcs_.empty());
176 RTC_CHECK(video_send_ssrcs_.empty()); 178 RTC_CHECK(video_send_ssrcs_.empty());
177 RTC_CHECK(video_send_streams_.empty()); 179 RTC_CHECK(video_send_streams_.empty());
178 RTC_CHECK(audio_receive_ssrcs_.empty()); 180 RTC_CHECK(audio_receive_ssrcs_.empty());
179 RTC_CHECK(video_receive_ssrcs_.empty()); 181 RTC_CHECK(video_receive_ssrcs_.empty());
180 RTC_CHECK(video_receive_streams_.empty()); 182 RTC_CHECK(video_receive_streams_.empty());
(...skipping 410 matching lines...) Expand 10 before | Expand all | Expand 10 after
591 // thread. Then this check can be enabled. 593 // thread. Then this check can be enabled.
592 // RTC_DCHECK(!configuration_thread_checker_.CalledOnValidThread()); 594 // RTC_DCHECK(!configuration_thread_checker_.CalledOnValidThread());
593 if (RtpHeaderParser::IsRtcp(packet, length)) 595 if (RtpHeaderParser::IsRtcp(packet, length))
594 return DeliverRtcp(media_type, packet, length); 596 return DeliverRtcp(media_type, packet, length);
595 597
596 return DeliverRtp(media_type, packet, length, packet_time); 598 return DeliverRtp(media_type, packet, length, packet_time);
597 } 599 }
598 600
599 } // namespace internal 601 } // namespace internal
600 } // namespace webrtc 602 } // namespace webrtc
OLDNEW
« no previous file with comments | « no previous file | webrtc/call/rtc_event_log.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698