OLD | NEW |
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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 return false; | 73 return false; |
74 } | 74 } |
75 | 75 |
76 void StopLogging() override { RTC_NOTREACHED(); } | 76 void StopLogging() override { RTC_NOTREACHED(); } |
77 | 77 |
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( | 83 void LogVideoSendStreamConfig(const webrtc::rtclog::StreamConfig&) override { |
84 const webrtc::VideoSendStream::Config& config) override { | 84 RTC_NOTREACHED(); |
85 rtc::CritScope lock(&crit_); | |
86 if (event_log_) { | |
87 event_log_->LogVideoSendStreamConfig(config); | |
88 } | |
89 } | 85 } |
90 | 86 |
91 void LogAudioReceiveStreamConfig( | 87 void LogAudioReceiveStreamConfig( |
92 const webrtc::AudioReceiveStream::Config& config) override { | 88 const webrtc::AudioReceiveStream::Config& config) override { |
93 rtc::CritScope lock(&crit_); | 89 rtc::CritScope lock(&crit_); |
94 if (event_log_) { | 90 if (event_log_) { |
95 event_log_->LogAudioReceiveStreamConfig(config); | 91 event_log_->LogAudioReceiveStreamConfig(config); |
96 } | 92 } |
97 } | 93 } |
98 | 94 |
(...skipping 3038 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3137 int64_t min_rtt = 0; | 3133 int64_t min_rtt = 0; |
3138 if (_rtpRtcpModule->RTT(remoteSSRC, &rtt, &avg_rtt, &min_rtt, &max_rtt) != | 3134 if (_rtpRtcpModule->RTT(remoteSSRC, &rtt, &avg_rtt, &min_rtt, &max_rtt) != |
3139 0) { | 3135 0) { |
3140 return 0; | 3136 return 0; |
3141 } | 3137 } |
3142 return rtt; | 3138 return rtt; |
3143 } | 3139 } |
3144 | 3140 |
3145 } // namespace voe | 3141 } // namespace voe |
3146 } // namespace webrtc | 3142 } // namespace webrtc |
OLD | NEW |