OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2013 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 | 10 |
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
135 std::vector<VideoStream> streams; | 135 std::vector<VideoStream> streams; |
136 std::vector<SpatialLayer> spatial_layers; | 136 std::vector<SpatialLayer> spatial_layers; |
137 ContentType content_type; | 137 ContentType content_type; |
138 void* encoder_specific_settings; | 138 void* encoder_specific_settings; |
139 | 139 |
140 // Padding will be used up to this bitrate regardless of the bitrate produced | 140 // Padding will be used up to this bitrate regardless of the bitrate produced |
141 // by the encoder. Padding above what's actually produced by the encoder helps | 141 // by the encoder. Padding above what's actually produced by the encoder helps |
142 // maintaining a higher bitrate estimate. Padding will however not be sent | 142 // maintaining a higher bitrate estimate. Padding will however not be sent |
143 // unless the estimated bandwidth indicates that the link can handle it. | 143 // unless the estimated bandwidth indicates that the link can handle it. |
144 int min_transmit_bitrate_bps; | 144 int min_transmit_bitrate_bps; |
| 145 bool expect_encode_from_texture; |
145 }; | 146 }; |
146 | 147 |
147 // Controls the capacity of the packet buffer in NetEq. The capacity is the | 148 // Controls the capacity of the packet buffer in NetEq. The capacity is the |
148 // maximum number of packets that the buffer can contain. If the limit is | 149 // maximum number of packets that the buffer can contain. If the limit is |
149 // exceeded, the buffer will be flushed. The capacity does not affect the actual | 150 // exceeded, the buffer will be flushed. The capacity does not affect the actual |
150 // audio delay in the general case, since this is governed by the target buffer | 151 // audio delay in the general case, since this is governed by the target buffer |
151 // level (calculated from the jitter profile). It is only in the rare case of | 152 // level (calculated from the jitter profile). It is only in the rare case of |
152 // severe network freezes that a higher capacity will lead to a (transient) | 153 // severe network freezes that a higher capacity will lead to a (transient) |
153 // increase in audio delay. | 154 // increase in audio delay. |
154 struct NetEqCapacityConfig { | 155 struct NetEqCapacityConfig { |
(...skipping 14 matching lines...) Expand all Loading... |
169 struct VoicePacing { | 170 struct VoicePacing { |
170 VoicePacing() : enabled(false) {} | 171 VoicePacing() : enabled(false) {} |
171 explicit VoicePacing(bool value) : enabled(value) {} | 172 explicit VoicePacing(bool value) : enabled(value) {} |
172 static const ConfigOptionID identifier = ConfigOptionID::kVoicePacing; | 173 static const ConfigOptionID identifier = ConfigOptionID::kVoicePacing; |
173 bool enabled; | 174 bool enabled; |
174 }; | 175 }; |
175 | 176 |
176 } // namespace webrtc | 177 } // namespace webrtc |
177 | 178 |
178 #endif // WEBRTC_CONFIG_H_ | 179 #endif // WEBRTC_CONFIG_H_ |
OLD | NEW |