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; | |
108 ContentType content_type; | 107 ContentType content_type; |
109 void* encoder_specific_settings; | 108 void* encoder_specific_settings; |
110 | 109 |
111 // Padding will be used up to this bitrate regardless of the bitrate produced | 110 // Padding will be used up to this bitrate regardless of the bitrate produced |
112 // by the encoder. Padding above what's actually produced by the encoder helps | 111 // by the encoder. Padding above what's actually produced by the encoder helps |
113 // maintaining a higher bitrate estimate. Padding will however not be sent | 112 // maintaining a higher bitrate estimate. Padding will however not be sent |
114 // unless the estimated bandwidth indicates that the link can handle it. | 113 // unless the estimated bandwidth indicates that the link can handle it. |
115 int min_transmit_bitrate_bps; | 114 int min_transmit_bitrate_bps; |
116 }; | 115 }; |
117 | 116 |
(...skipping 13 matching lines...) Expand all Loading... |
131 | 130 |
132 struct NetEqFastAccelerate { | 131 struct NetEqFastAccelerate { |
133 NetEqFastAccelerate() : enabled(false) {} | 132 NetEqFastAccelerate() : enabled(false) {} |
134 explicit NetEqFastAccelerate(bool value) : enabled(value) {} | 133 explicit NetEqFastAccelerate(bool value) : enabled(value) {} |
135 bool enabled; | 134 bool enabled; |
136 }; | 135 }; |
137 | 136 |
138 } // namespace webrtc | 137 } // namespace webrtc |
139 | 138 |
140 #endif // WEBRTC_CONFIG_H_ | 139 #endif // WEBRTC_CONFIG_H_ |
OLD | NEW |