| 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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 | 86 |
| 87 void LogAudioReceiveStreamConfig( | 87 void LogAudioReceiveStreamConfig( |
| 88 const webrtc::rtclog::StreamConfig& 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::rtclog::StreamConfig& config) override { |
| 97 rtc::CritScope lock(&crit_); | 97 rtc::CritScope lock(&crit_); |
| 98 if (event_log_) { | 98 if (event_log_) { |
| 99 event_log_->LogAudioSendStreamConfig(config); | 99 event_log_->LogAudioSendStreamConfig(config); |
| 100 } | 100 } |
| 101 } | 101 } |
| 102 | 102 |
| 103 void LogRtpHeader(webrtc::PacketDirection direction, | 103 void LogRtpHeader(webrtc::PacketDirection direction, |
| 104 webrtc::MediaType media_type, | 104 webrtc::MediaType media_type, |
| 105 const uint8_t* header, | 105 const uint8_t* header, |
| 106 size_t packet_length) override { | 106 size_t packet_length) override { |
| (...skipping 3026 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 |
| OLD | NEW |