| 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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 } | 87 } |
| 88 | 88 |
| 89 void LogVideoSendStreamConfig( | 89 void LogVideoSendStreamConfig( |
| 90 const webrtc::VideoSendStream::Config& config) override { | 90 const webrtc::VideoSendStream::Config& config) override { |
| 91 rtc::CritScope lock(&crit_); | 91 rtc::CritScope lock(&crit_); |
| 92 if (event_log_) { | 92 if (event_log_) { |
| 93 event_log_->LogVideoSendStreamConfig(config); | 93 event_log_->LogVideoSendStreamConfig(config); |
| 94 } | 94 } |
| 95 } | 95 } |
| 96 | 96 |
| 97 void LogAudioReceiveStreamConfig( |
| 98 const webrtc::AudioReceiveStream::Config& config) override { |
| 99 rtc::CritScope lock(&crit_); |
| 100 if (event_log_) { |
| 101 event_log_->LogAudioReceiveStreamConfig(config); |
| 102 } |
| 103 } |
| 104 |
| 105 void LogAudioSendStreamConfig( |
| 106 const webrtc::AudioSendStream::Config& config) override { |
| 107 rtc::CritScope lock(&crit_); |
| 108 if (event_log_) { |
| 109 event_log_->LogAudioSendStreamConfig(config); |
| 110 } |
| 111 } |
| 112 |
| 97 void LogRtpHeader(webrtc::PacketDirection direction, | 113 void LogRtpHeader(webrtc::PacketDirection direction, |
| 98 webrtc::MediaType media_type, | 114 webrtc::MediaType media_type, |
| 99 const uint8_t* header, | 115 const uint8_t* header, |
| 100 size_t packet_length) override { | 116 size_t packet_length) override { |
| 101 rtc::CritScope lock(&crit_); | 117 rtc::CritScope lock(&crit_); |
| 102 if (event_log_) { | 118 if (event_log_) { |
| 103 event_log_->LogRtpHeader(direction, media_type, header, packet_length); | 119 event_log_->LogRtpHeader(direction, media_type, header, packet_length); |
| 104 } | 120 } |
| 105 } | 121 } |
| 106 | 122 |
| (...skipping 3098 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3205 int64_t min_rtt = 0; | 3221 int64_t min_rtt = 0; |
| 3206 if (_rtpRtcpModule->RTT(remoteSSRC, &rtt, &avg_rtt, &min_rtt, &max_rtt) != | 3222 if (_rtpRtcpModule->RTT(remoteSSRC, &rtt, &avg_rtt, &min_rtt, &max_rtt) != |
| 3207 0) { | 3223 0) { |
| 3208 return 0; | 3224 return 0; |
| 3209 } | 3225 } |
| 3210 return rtt; | 3226 return rtt; |
| 3211 } | 3227 } |
| 3212 | 3228 |
| 3213 } // namespace voe | 3229 } // namespace voe |
| 3214 } // namespace webrtc | 3230 } // namespace webrtc |
| OLD | NEW |