StreamLayerConfig
Configures the parameters of a specific layer in multi-quality video streams.
struct StreamLayerConfig {
VideoDimensions dimensions;
int framerate;
bool enable;
StreamLayerConfig() : dimensions(0, 0), framerate(0), enable(false) {}
};
- Since:
- Available since v4.6.0.
Used to configure the resolution, frame rate, and enable status of a specific layer in multi-quality video streams.
Attributes
- dimensions
- Video frame size. Default is 0. See VideoDimensions.
- framerate
- Frame rate (fps) of the local video capture. Default is 0.
- enable
- Whether to enable the video stream for the corresponding layer. Default is false.
true: Enables the video stream for the corresponding layer.false: (Default) Disables the video stream for the corresponding layer.