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

Side by Side Diff: webrtc/voice_engine/channel.cc

Issue 2851303007: Replace AudioReceiveStream::Config with rtclog::StreamConfig. (Closed)
Patch Set: Rebased. Created 3 years, 7 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 | « webrtc/tools/event_log_visualizer/analyzer.cc ('k') | no next file » | 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) 2012 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2012 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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 void LogVideoReceiveStreamConfig( 78 void LogVideoReceiveStreamConfig(
79 const webrtc::rtclog::StreamConfig&) override { 79 const webrtc::rtclog::StreamConfig&) override {
80 RTC_NOTREACHED(); 80 RTC_NOTREACHED();
81 } 81 }
82 82
83 void LogVideoSendStreamConfig(const webrtc::rtclog::StreamConfig&) override { 83 void LogVideoSendStreamConfig(const webrtc::rtclog::StreamConfig&) override {
84 RTC_NOTREACHED(); 84 RTC_NOTREACHED();
85 } 85 }
86 86
87 void LogAudioReceiveStreamConfig( 87 void LogAudioReceiveStreamConfig(
88 const webrtc::AudioReceiveStream::Config& config) override { 88 const webrtc::rtclog::StreamConfig& config) override {
89 rtc::CritScope lock(&crit_); 89 rtc::CritScope lock(&crit_);
90 if (event_log_) { 90 if (event_log_) {
91 event_log_->LogAudioReceiveStreamConfig(config); 91 event_log_->LogAudioReceiveStreamConfig(config);
92 } 92 }
93 } 93 }
94 94
95 void LogAudioSendStreamConfig( 95 void LogAudioSendStreamConfig(
96 const webrtc::AudioSendStream::Config& config) override { 96 const webrtc::AudioSendStream::Config& config) override {
97 rtc::CritScope lock(&crit_); 97 rtc::CritScope lock(&crit_);
98 if (event_log_) { 98 if (event_log_) {
(...skipping 3034 matching lines...) Expand 10 before | Expand all | Expand 10 after
3133 int64_t min_rtt = 0; 3133 int64_t min_rtt = 0;
3134 if (_rtpRtcpModule->RTT(remoteSSRC, &rtt, &avg_rtt, &min_rtt, &max_rtt) != 3134 if (_rtpRtcpModule->RTT(remoteSSRC, &rtt, &avg_rtt, &min_rtt, &max_rtt) !=
3135 0) { 3135 0) {
3136 return 0; 3136 return 0;
3137 } 3137 }
3138 return rtt; 3138 return rtt;
3139 } 3139 }
3140 3140
3141 } // namespace voe 3141 } // namespace voe
3142 } // namespace webrtc 3142 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/tools/event_log_visualizer/analyzer.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698