|
Agora Java API Reference for Android
|
Configures the parameters of a specific layer in multi-quality video streams. More...
Public Member Functions | |
| StreamLayerConfig (VideoEncoderConfiguration.VideoDimensions dimensions, int framerate, boolean enable) | |
| int | getFramerate () |
| int | getDimensionsWidth () |
| int | getDimensionsHeight () |
| boolean | isEnabled () |
Public Attributes | |
| VideoEncoderConfiguration.VideoDimensions | dimensions |
| int | framerate |
| boolean | enable |
Configures the parameters of a specific layer in multi-quality video streams.
Used to configure the resolution, frame rate, and enable status of a specific layer in multi-quality video streams.
| VideoEncoderConfiguration.VideoDimensions io.agora.rtc2.SimulcastConfig.StreamLayerConfig.dimensions |
Video frame size. See VideoEncoderConfiguration.VideoDimensions.
| int io.agora.rtc2.SimulcastConfig.StreamLayerConfig.framerate |
Frame rate (fps) of the local video capture. Default is 0.
| boolean io.agora.rtc2.SimulcastConfig.StreamLayerConfig.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.
1.8.18