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

Side by Side Diff: webrtc/logging/rtc_event_log/rtc_event_log_parser.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) 2016 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2016 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 #ifndef WEBRTC_LOGGING_RTC_EVENT_LOG_RTC_EVENT_LOG_PARSER_H_ 10 #ifndef WEBRTC_LOGGING_RTC_EVENT_LOG_RTC_EVENT_LOG_PARSER_H_
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 size_t* length) const; 115 size_t* length) const;
116 116
117 // Reads a config event to a (non-NULL) StreamConfig struct. 117 // Reads a config event to a (non-NULL) StreamConfig struct.
118 // Only the fields that are stored in the protobuf will be written. 118 // Only the fields that are stored in the protobuf will be written.
119 void GetVideoReceiveConfig(size_t index, rtclog::StreamConfig* config) const; 119 void GetVideoReceiveConfig(size_t index, rtclog::StreamConfig* config) const;
120 120
121 // Reads a config event to a (non-NULL) StreamConfig struct. 121 // Reads a config event to a (non-NULL) StreamConfig struct.
122 // Only the fields that are stored in the protobuf will be written. 122 // Only the fields that are stored in the protobuf will be written.
123 void GetVideoSendConfig(size_t index, rtclog::StreamConfig* config) const; 123 void GetVideoSendConfig(size_t index, rtclog::StreamConfig* config) const;
124 124
125 // Reads a config event to a (non-NULL) AudioReceiveStream::Config struct. 125 // Reads a config event to a (non-NULL) StreamConfig struct.
126 // Only the fields that are stored in the protobuf will be written. 126 // Only the fields that are stored in the protobuf will be written.
127 void GetAudioReceiveConfig(size_t index, 127 void GetAudioReceiveConfig(size_t index, rtclog::StreamConfig* config) const;
128 AudioReceiveStream::Config* config) const;
129 128
130 // Reads a config event to a (non-NULL) AudioSendStream::Config struct. 129 // Reads a config event to a (non-NULL) AudioSendStream::Config struct.
131 // Only the fields that are stored in the protobuf will be written. 130 // Only the fields that are stored in the protobuf will be written.
132 void GetAudioSendConfig(size_t index, AudioSendStream::Config* config) const; 131 void GetAudioSendConfig(size_t index, AudioSendStream::Config* config) const;
133 132
134 // Reads the SSRC from the audio playout event at |index|. The SSRC is stored 133 // Reads the SSRC from the audio playout event at |index|. The SSRC is stored
135 // in the output parameter ssrc. The output parameter can be set to nullptr 134 // in the output parameter ssrc. The output parameter can be set to nullptr
136 // and in that case the function only asserts that the event is well formed. 135 // and in that case the function only asserts that the event is well formed.
137 void GetAudioPlayout(size_t index, uint32_t* ssrc) const; 136 void GetAudioPlayout(size_t index, uint32_t* ssrc) const;
138 137
(...skipping 25 matching lines...) Expand all
164 163
165 ParsedRtcEventLog::BweProbeResultEvent GetBweProbeResult(size_t index) const; 164 ParsedRtcEventLog::BweProbeResultEvent GetBweProbeResult(size_t index) const;
166 165
167 private: 166 private:
168 std::vector<rtclog::Event> events_; 167 std::vector<rtclog::Event> events_;
169 }; 168 };
170 169
171 } // namespace webrtc 170 } // namespace webrtc
172 171
173 #endif // WEBRTC_LOGGING_RTC_EVENT_LOG_RTC_EVENT_LOG_PARSER_H_ 172 #endif // WEBRTC_LOGGING_RTC_EVENT_LOG_RTC_EVENT_LOG_PARSER_H_
OLDNEW
« no previous file with comments | « webrtc/logging/rtc_event_log/rtc_event_log2text.cc ('k') | webrtc/logging/rtc_event_log/rtc_event_log_parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698