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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 enum class ContentType { | 97 enum class ContentType { |
98 kRealtimeVideo, | 98 kRealtimeVideo, |
99 kScreen, | 99 kScreen, |
100 }; | 100 }; |
101 | 101 |
102 VideoEncoderConfig(); | 102 VideoEncoderConfig(); |
103 ~VideoEncoderConfig(); | 103 ~VideoEncoderConfig(); |
104 std::string ToString() const; | 104 std::string ToString() const; |
105 | 105 |
106 std::vector<VideoStream> streams; | 106 std::vector<VideoStream> streams; |
| 107 std::vector<SpatialLayer> spatial_layers; |
107 ContentType content_type; | 108 ContentType content_type; |
108 void* encoder_specific_settings; | 109 void* encoder_specific_settings; |
109 | 110 |
110 // Padding will be used up to this bitrate regardless of the bitrate produced | 111 // Padding will be used up to this bitrate regardless of the bitrate produced |
111 // by the encoder. Padding above what's actually produced by the encoder helps | 112 // by the encoder. Padding above what's actually produced by the encoder helps |
112 // maintaining a higher bitrate estimate. Padding will however not be sent | 113 // maintaining a higher bitrate estimate. Padding will however not be sent |
113 // unless the estimated bandwidth indicates that the link can handle it. | 114 // unless the estimated bandwidth indicates that the link can handle it. |
114 int min_transmit_bitrate_bps; | 115 int min_transmit_bitrate_bps; |
115 }; | 116 }; |
116 | 117 |
(...skipping 13 matching lines...) Expand all Loading... |
130 | 131 |
131 struct NetEqFastAccelerate { | 132 struct NetEqFastAccelerate { |
132 NetEqFastAccelerate() : enabled(false) {} | 133 NetEqFastAccelerate() : enabled(false) {} |
133 explicit NetEqFastAccelerate(bool value) : enabled(value) {} | 134 explicit NetEqFastAccelerate(bool value) : enabled(value) {} |
134 bool enabled; | 135 bool enabled; |
135 }; | 136 }; |
136 | 137 |
137 } // namespace webrtc | 138 } // namespace webrtc |
138 | 139 |
139 #endif // WEBRTC_CONFIG_H_ | 140 #endif // WEBRTC_CONFIG_H_ |
OLD | NEW |