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

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

Issue 3012903002: Events - TODO_2
Patch Set: Created 3 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 | « webrtc/logging/rtc_event_log/rtc_event_log.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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 } 71 }
72 72
73 bool StartLogging(rtc::PlatformFile log_file, 73 bool StartLogging(rtc::PlatformFile log_file,
74 int64_t max_size_bytes) override { 74 int64_t max_size_bytes) override {
75 RTC_NOTREACHED(); 75 RTC_NOTREACHED();
76 return false; 76 return false;
77 } 77 }
78 78
79 void StopLogging() override { RTC_NOTREACHED(); } 79 void StopLogging() override { RTC_NOTREACHED(); }
80 80
81 void LogRtcEvent(std::unique_ptr<RtcEvent> event) override {
82 rtc::CritScope lock(&crit_);
83 if (event_log_) {
84 event_log_->LogRtcEvent(std::move(event));
85 }
86 }
87
81 void LogVideoReceiveStreamConfig( 88 void LogVideoReceiveStreamConfig(
82 const webrtc::rtclog::StreamConfig&) override { 89 const webrtc::rtclog::StreamConfig&) override {
83 RTC_NOTREACHED(); 90 RTC_NOTREACHED();
84 } 91 }
85 92
86 void LogVideoSendStreamConfig(const webrtc::rtclog::StreamConfig&) override { 93 void LogVideoSendStreamConfig(const webrtc::rtclog::StreamConfig&) override {
87 RTC_NOTREACHED(); 94 RTC_NOTREACHED();
88 } 95 }
89 96
90 void LogAudioReceiveStreamConfig( 97 void LogAudioReceiveStreamConfig(
(...skipping 3043 matching lines...) Expand 10 before | Expand all | Expand 10 after
3134 int64_t min_rtt = 0; 3141 int64_t min_rtt = 0;
3135 if (_rtpRtcpModule->RTT(remoteSSRC, &rtt, &avg_rtt, &min_rtt, &max_rtt) != 3142 if (_rtpRtcpModule->RTT(remoteSSRC, &rtt, &avg_rtt, &min_rtt, &max_rtt) !=
3136 0) { 3143 0) {
3137 return 0; 3144 return 0;
3138 } 3145 }
3139 return rtt; 3146 return rtt;
3140 } 3147 }
3141 3148
3142 } // namespace voe 3149 } // namespace voe
3143 } // namespace webrtc 3150 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/logging/rtc_event_log/rtc_event_log.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698