Package io.agora.rtc2
Class SimulcastConfig.StreamLayerConfig
java.lang.Object
io.agora.rtc2.SimulcastConfig.StreamLayerConfig
- Enclosing class:
- SimulcastConfig
The configuration of a specific layer in the multi-layer video stream.
- Since:
- v4.6.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe video frame dimension.booleanWhether to enable the corresponding layer of video stream.intThe capture frame rate (fps) of the local video. -
Constructor Summary
ConstructorsConstructorDescriptionStreamLayerConfig(VideoEncoderConfiguration.VideoDimensions dimensions, int framerate, boolean enable) -
Method Summary
Modifier and TypeMethodDescriptionintintintboolean
-
Field Details
-
dimensions
The video frame dimension. The default value is 0. -
framerate
public int framerateThe capture frame rate (fps) of the local video. The default value is 0. -
enable
public boolean enableWhether to enable the corresponding layer of video stream. The default value is false. - true: Enable the corresponding layer of video stream - false: (Default) Disable the corresponding layer of video stream
-
-
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()
-