| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2015 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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 116 virtual void LogVideoReceiveStreamConfig( | 116 virtual void LogVideoReceiveStreamConfig( |
| 117 const rtclog::StreamConfig& config) = 0; | 117 const rtclog::StreamConfig& config) = 0; |
| 118 | 118 |
| 119 // Logs configuration information for a video send stream. | 119 // Logs configuration information for a video send stream. |
| 120 virtual void LogVideoSendStreamConfig(const rtclog::StreamConfig& config) = 0; | 120 virtual void LogVideoSendStreamConfig(const rtclog::StreamConfig& config) = 0; |
| 121 | 121 |
| 122 // Logs configuration information for an audio receive stream. | 122 // Logs configuration information for an audio receive stream. |
| 123 virtual void LogAudioReceiveStreamConfig( | 123 virtual void LogAudioReceiveStreamConfig( |
| 124 const rtclog::StreamConfig& config) = 0; | 124 const rtclog::StreamConfig& config) = 0; |
| 125 | 125 |
| 126 // Logs configuration information for webrtc::AudioSendStream. | 126 // Logs configuration information for an audio send stream. |
| 127 virtual void LogAudioSendStreamConfig( | 127 virtual void LogAudioSendStreamConfig(const rtclog::StreamConfig& config) = 0; |
| 128 const webrtc::AudioSendStream::Config& config) = 0; | |
| 129 | 128 |
| 130 // Logs the header of an incoming or outgoing RTP packet. packet_length | 129 // Logs the header of an incoming or outgoing RTP packet. packet_length |
| 131 // is the total length of the packet, including both header and payload. | 130 // is the total length of the packet, including both header and payload. |
| 132 virtual void LogRtpHeader(PacketDirection direction, | 131 virtual void LogRtpHeader(PacketDirection direction, |
| 133 MediaType media_type, | 132 MediaType media_type, |
| 134 const uint8_t* header, | 133 const uint8_t* header, |
| 135 size_t packet_length) = 0; | 134 size_t packet_length) = 0; |
| 136 | 135 |
| 137 // Same as above but used on the sender side to log packets that are part of | 136 // Same as above but used on the sender side to log packets that are part of |
| 138 // a probe cluster. | 137 // a probe cluster. |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 196 return false; | 195 return false; |
| 197 } | 196 } |
| 198 bool StartLogging(rtc::PlatformFile platform_file, | 197 bool StartLogging(rtc::PlatformFile platform_file, |
| 199 int64_t max_size_bytes) override; | 198 int64_t max_size_bytes) override; |
| 200 void StopLogging() override {} | 199 void StopLogging() override {} |
| 201 void LogVideoReceiveStreamConfig( | 200 void LogVideoReceiveStreamConfig( |
| 202 const rtclog::StreamConfig& config) override {} | 201 const rtclog::StreamConfig& config) override {} |
| 203 void LogVideoSendStreamConfig(const rtclog::StreamConfig& config) override {} | 202 void LogVideoSendStreamConfig(const rtclog::StreamConfig& config) override {} |
| 204 void LogAudioReceiveStreamConfig( | 203 void LogAudioReceiveStreamConfig( |
| 205 const rtclog::StreamConfig& config) override {} | 204 const rtclog::StreamConfig& config) override {} |
| 206 void LogAudioSendStreamConfig( | 205 void LogAudioSendStreamConfig(const rtclog::StreamConfig& config) override {} |
| 207 const AudioSendStream::Config& config) override {} | |
| 208 void LogRtpHeader(PacketDirection direction, | 206 void LogRtpHeader(PacketDirection direction, |
| 209 MediaType media_type, | 207 MediaType media_type, |
| 210 const uint8_t* header, | 208 const uint8_t* header, |
| 211 size_t packet_length) override {} | 209 size_t packet_length) override {} |
| 212 void LogRtpHeader(PacketDirection direction, | 210 void LogRtpHeader(PacketDirection direction, |
| 213 MediaType media_type, | 211 MediaType media_type, |
| 214 const uint8_t* header, | 212 const uint8_t* header, |
| 215 size_t packet_length, | 213 size_t packet_length, |
| 216 int probe_cluster_id) override {} | 214 int probe_cluster_id) override {} |
| 217 void LogRtcpPacket(PacketDirection direction, | 215 void LogRtcpPacket(PacketDirection direction, |
| (...skipping 13 matching lines...) Expand all Loading... |
| 231 int min_probes, | 229 int min_probes, |
| 232 int min_bytes) override{}; | 230 int min_bytes) override{}; |
| 233 void LogProbeResultSuccess(int id, int bitrate_bps) override{}; | 231 void LogProbeResultSuccess(int id, int bitrate_bps) override{}; |
| 234 void LogProbeResultFailure(int id, | 232 void LogProbeResultFailure(int id, |
| 235 ProbeFailureReason failure_reason) override{}; | 233 ProbeFailureReason failure_reason) override{}; |
| 236 }; | 234 }; |
| 237 | 235 |
| 238 } // namespace webrtc | 236 } // namespace webrtc |
| 239 | 237 |
| 240 #endif // WEBRTC_LOGGING_RTC_EVENT_LOG_RTC_EVENT_LOG_H_ | 238 #endif // WEBRTC_LOGGING_RTC_EVENT_LOG_RTC_EVENT_LOG_H_ |
| OLD | NEW |