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 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 | 129 |
130 // Reads bitrate and detector_state from the delay based BWE event at |index| | 130 // Reads bitrate and detector_state from the delay based BWE event at |index| |
131 // and stores the values in the corresponding output parameters. Each output | 131 // and stores the values in the corresponding output parameters. Each output |
132 // parameter can be set to nullptr if that | 132 // parameter can be set to nullptr if that |
133 // value isn't needed. | 133 // value isn't needed. |
134 void GetDelayBasedBweUpdate(size_t index, | 134 void GetDelayBasedBweUpdate(size_t index, |
135 int32_t* bitrate_bps, | 135 int32_t* bitrate_bps, |
136 BandwidthUsage* detector_state) const; | 136 BandwidthUsage* detector_state) const; |
137 | 137 |
138 // Reads a audio network adaptation event to a (non-NULL) | 138 // Reads a audio network adaptation event to a (non-NULL) |
139 // AudioNetworkAdaptor::EncoderRuntimeConfig struct. Only the fields that are | 139 // AudioEncoderRuntimeConfig struct. Only the fields that are |
140 // stored in the protobuf will be written. | 140 // stored in the protobuf will be written. |
141 void GetAudioNetworkAdaptation( | 141 void GetAudioNetworkAdaptation(size_t index, |
142 size_t index, | 142 AudioEncoderRuntimeConfig* config) const; |
143 AudioNetworkAdaptor::EncoderRuntimeConfig* config) const; | |
144 | 143 |
145 private: | 144 private: |
146 std::vector<rtclog::Event> events_; | 145 std::vector<rtclog::Event> events_; |
147 }; | 146 }; |
148 | 147 |
149 } // namespace webrtc | 148 } // namespace webrtc |
150 | 149 |
151 #endif // WEBRTC_LOGGING_RTC_EVENT_LOG_RTC_EVENT_LOG_PARSER_H_ | 150 #endif // WEBRTC_LOGGING_RTC_EVENT_LOG_RTC_EVENT_LOG_PARSER_H_ |
OLD | NEW |