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

Side by Side Diff: webrtc/logging/rtc_event_log/rtc_event_log.h

Issue 2851303007: Replace AudioReceiveStream::Config with rtclog::StreamConfig. (Closed)
Patch Set: Rebased. Created 3 years, 7 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
OLDNEW
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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 // Stops logging to file and waits until the thread has finished. 112 // Stops logging to file and waits until the thread has finished.
113 virtual void StopLogging() = 0; 113 virtual void StopLogging() = 0;
114 114
115 // Logs configuration information for a video receive stream. 115 // Logs configuration information for a video receive stream.
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 webrtc::AudioReceiveStream. 122 // Logs configuration information for an audio receive stream.
123 virtual void LogAudioReceiveStreamConfig( 123 virtual void LogAudioReceiveStreamConfig(
124 const webrtc::AudioReceiveStream::Config& config) = 0; 124 const rtclog::StreamConfig& config) = 0;
125 125
126 // Logs configuration information for webrtc::AudioSendStream. 126 // Logs configuration information for webrtc::AudioSendStream.
127 virtual void LogAudioSendStreamConfig( 127 virtual void LogAudioSendStreamConfig(
128 const webrtc::AudioSendStream::Config& config) = 0; 128 const webrtc::AudioSendStream::Config& config) = 0;
129 129
130 // Logs the header of an incoming or outgoing RTP packet. packet_length 130 // 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. 131 // is the total length of the packet, including both header and payload.
132 virtual void LogRtpHeader(PacketDirection direction, 132 virtual void LogRtpHeader(PacketDirection direction,
133 MediaType media_type, 133 MediaType media_type,
134 const uint8_t* header, 134 const uint8_t* header,
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 int64_t max_size_bytes) override { 195 int64_t max_size_bytes) override {
196 return false; 196 return false;
197 } 197 }
198 bool StartLogging(rtc::PlatformFile platform_file, 198 bool StartLogging(rtc::PlatformFile platform_file,
199 int64_t max_size_bytes) override; 199 int64_t max_size_bytes) override;
200 void StopLogging() override {} 200 void StopLogging() override {}
201 void LogVideoReceiveStreamConfig( 201 void LogVideoReceiveStreamConfig(
202 const rtclog::StreamConfig& config) override {} 202 const rtclog::StreamConfig& config) override {}
203 void LogVideoSendStreamConfig(const rtclog::StreamConfig& config) override {} 203 void LogVideoSendStreamConfig(const rtclog::StreamConfig& config) override {}
204 void LogAudioReceiveStreamConfig( 204 void LogAudioReceiveStreamConfig(
205 const AudioReceiveStream::Config& config) override {} 205 const rtclog::StreamConfig& config) override {}
206 void LogAudioSendStreamConfig( 206 void LogAudioSendStreamConfig(
207 const AudioSendStream::Config& config) override {} 207 const AudioSendStream::Config& config) override {}
208 void LogRtpHeader(PacketDirection direction, 208 void LogRtpHeader(PacketDirection direction,
209 MediaType media_type, 209 MediaType media_type,
210 const uint8_t* header, 210 const uint8_t* header,
211 size_t packet_length) override {} 211 size_t packet_length) override {}
212 void LogRtpHeader(PacketDirection direction, 212 void LogRtpHeader(PacketDirection direction,
213 MediaType media_type, 213 MediaType media_type,
214 const uint8_t* header, 214 const uint8_t* header,
215 size_t packet_length, 215 size_t packet_length,
(...skipping 15 matching lines...) Expand all
231 int min_probes, 231 int min_probes,
232 int min_bytes) override{}; 232 int min_bytes) override{};
233 void LogProbeResultSuccess(int id, int bitrate_bps) override{}; 233 void LogProbeResultSuccess(int id, int bitrate_bps) override{};
234 void LogProbeResultFailure(int id, 234 void LogProbeResultFailure(int id,
235 ProbeFailureReason failure_reason) override{}; 235 ProbeFailureReason failure_reason) override{};
236 }; 236 };
237 237
238 } // namespace webrtc 238 } // namespace webrtc
239 239
240 #endif // WEBRTC_LOGGING_RTC_EVENT_LOG_RTC_EVENT_LOG_H_ 240 #endif // WEBRTC_LOGGING_RTC_EVENT_LOG_RTC_EVENT_LOG_H_
OLDNEW
« no previous file with comments | « webrtc/logging/rtc_event_log/mock/mock_rtc_event_log.h ('k') | webrtc/logging/rtc_event_log/rtc_event_log.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698