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

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

Issue 2850793002: Replace VideoReceiveStream::Config with new rtclog::StreamConfig in RtcEventLog. (Closed)
Patch Set: Fix merge. 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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 // Reads packet, direction, media type and packet length from the RTCP event 107 // Reads packet, direction, media type and packet length from the RTCP event
108 // at |index|, and stores the values in the corresponding output parameters. 108 // at |index|, and stores the values in the corresponding output parameters.
109 // Each output parameter can be set to nullptr if that value isn't needed. 109 // Each output parameter can be set to nullptr if that value isn't needed.
110 // NB: The packet must have space for at least IP_PACKET_SIZE bytes. 110 // NB: The packet must have space for at least IP_PACKET_SIZE bytes.
111 void GetRtcpPacket(size_t index, 111 void GetRtcpPacket(size_t index,
112 PacketDirection* incoming, 112 PacketDirection* incoming,
113 MediaType* media_type, 113 MediaType* media_type,
114 uint8_t* packet, 114 uint8_t* packet,
115 size_t* length) const; 115 size_t* length) const;
116 116
117 // Reads a config event to a (non-NULL) VideoReceiveStream::Config 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, 119 void GetVideoReceiveConfig(size_t index, rtclog::StreamConfig* config) const;
120 VideoReceiveStream::Config* config) const;
121 120
122 // Reads a config event to a (non-NULL) VideoSendStream::Config struct. 121 // Reads a config event to a (non-NULL) VideoSendStream::Config struct.
123 // 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.
124 void GetVideoSendConfig(size_t index, VideoSendStream::Config* config) const; 123 void GetVideoSendConfig(size_t index, VideoSendStream::Config* config) const;
125 124
126 // Reads a config event to a (non-NULL) AudioReceiveStream::Config struct. 125 // Reads a config event to a (non-NULL) AudioReceiveStream::Config struct.
127 // 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.
128 void GetAudioReceiveConfig(size_t index, 127 void GetAudioReceiveConfig(size_t index,
129 AudioReceiveStream::Config* config) const; 128 AudioReceiveStream::Config* config) const;
130 129
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 164
166 ParsedRtcEventLog::BweProbeResultEvent GetBweProbeResult(size_t index) const; 165 ParsedRtcEventLog::BweProbeResultEvent GetBweProbeResult(size_t index) const;
167 166
168 private: 167 private:
169 std::vector<rtclog::Event> events_; 168 std::vector<rtclog::Event> events_;
170 }; 169 };
171 170
172 } // namespace webrtc 171 } // namespace webrtc
173 172
174 #endif // WEBRTC_LOGGING_RTC_EVENT_LOG_RTC_EVENT_LOG_PARSER_H_ 173 #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