OLD | NEW |
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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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) 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) VideoSendStream::Config 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, VideoSendStream::Config* 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) AudioReceiveStream::Config 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, |
128 AudioReceiveStream::Config* config) const; | 128 AudioReceiveStream::Config* config) const; |
129 | 129 |
130 // Reads a config event to a (non-NULL) AudioSendStream::Config struct. | 130 // Reads a config event to a (non-NULL) AudioSendStream::Config struct. |
131 // Only the fields that are stored in the protobuf will be written. | 131 // Only the fields that are stored in the protobuf will be written. |
132 void GetAudioSendConfig(size_t index, AudioSendStream::Config* config) const; | 132 void GetAudioSendConfig(size_t index, AudioSendStream::Config* config) const; |
133 | 133 |
(...skipping 30 matching lines...) Expand all Loading... |
164 | 164 |
165 ParsedRtcEventLog::BweProbeResultEvent GetBweProbeResult(size_t index) const; | 165 ParsedRtcEventLog::BweProbeResultEvent GetBweProbeResult(size_t index) const; |
166 | 166 |
167 private: | 167 private: |
168 std::vector<rtclog::Event> events_; | 168 std::vector<rtclog::Event> events_; |
169 }; | 169 }; |
170 | 170 |
171 } // namespace webrtc | 171 } // namespace webrtc |
172 | 172 |
173 #endif // WEBRTC_LOGGING_RTC_EVENT_LOG_RTC_EVENT_LOG_PARSER_H_ | 173 #endif // WEBRTC_LOGGING_RTC_EVENT_LOG_RTC_EVENT_LOG_PARSER_H_ |
OLD | NEW |