Package io.agora.rtc2
Class SimulcastConfig.StreamLayerConfig
java.lang.Object
io.agora.rtc2.SimulcastConfig.StreamLayerConfig
- Enclosing class:
- SimulcastConfig
- Since:
- v4.6.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionVideo frame size.booleanWhether to enable the video stream for the corresponding layer.intFrame rate (fps) of the local video capture. -
Constructor Summary
ConstructorsConstructorDescriptionStreamLayerConfig(VideoEncoderConfiguration.VideoDimensions dimensions, int framerate, boolean enable) -
Method Summary
Modifier and TypeMethodDescriptionintintintboolean
-
Field Details
-
dimensions
Video frame size. See `VideoEncoderConfiguration.VideoDimensions`. -
framerate
public int framerateFrame rate (fps) of the local video capture. Default is 0. -
enable
public boolean enableWhether 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.
-
-
Constructor Details
-
StreamLayerConfig
public StreamLayerConfig() -
StreamLayerConfig
public StreamLayerConfig(VideoEncoderConfiguration.VideoDimensions dimensions, int framerate, boolean enable)
-
-
Method Details
-
getFramerate
public int getFramerate() -
getDimensionsWidth
public int getDimensionsWidth() -
getDimensionsHeight
public int getDimensionsHeight() -
isEnabled
public boolean isEnabled()
-