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

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

Issue 2856063003: Replace AudioSendStream::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 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
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) StreamConfig 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, rtclog::StreamConfig* config) const; 127 void GetAudioReceiveConfig(size_t index, rtclog::StreamConfig* config) const;
128 128
129 // Reads a config event to a (non-NULL) AudioSendStream::Config struct. 129 // Reads a config event to a (non-NULL) StreamConfig struct.
130 // 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.
131 void GetAudioSendConfig(size_t index, AudioSendStream::Config* config) const; 131 void GetAudioSendConfig(size_t index, rtclog::StreamConfig* config) const;
132 132
133 // 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
134 // 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
135 // 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.
136 void GetAudioPlayout(size_t index, uint32_t* ssrc) const; 136 void GetAudioPlayout(size_t index, uint32_t* ssrc) const;
137 137
138 // Reads bitrate, fraction loss (as defined in RFC 1889) and total number of 138 // Reads bitrate, fraction loss (as defined in RFC 1889) and total number of
139 // expected packets from the loss based BWE event at |index| and stores the 139 // expected packets from the loss based BWE event at |index| and stores the
140 // values in 140 // values in
141 // the corresponding output parameters. Each output parameter can be set to 141 // the corresponding output parameters. Each output parameter can be set to
(...skipping 21 matching lines...) Expand all
163 163
164 ParsedRtcEventLog::BweProbeResultEvent GetBweProbeResult(size_t index) const; 164 ParsedRtcEventLog::BweProbeResultEvent GetBweProbeResult(size_t index) const;
165 165
166 private: 166 private:
167 std::vector<rtclog::Event> events_; 167 std::vector<rtclog::Event> events_;
168 }; 168 };
169 169
170 } // namespace webrtc 170 } // namespace webrtc
171 171
172 #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