Package io.agora.rtc2
Class SimulcastStreamConfig
java.lang.Object
io.agora.rtc2.SimulcastStreamConfig
-
Field Summary
FieldsModifier and TypeFieldDescriptionintVideo bitrate (Kbps).The video dimension.intThe frame rate (fps) of the local video. -
Constructor Summary
ConstructorsConstructorDescriptionSimulcastStreamConfig(VideoEncoderConfiguration.VideoDimensions dimensions, int bitrate, int framerate) -
Method Summary
Modifier and TypeMethodDescriptionintintintint
-
Field Details
-
dimensions
The video dimension. See `VideoDimensions`. The default value is 50% of the high-quality video stream. -
bitrate
public int bitrateVideo bitrate (Kbps). The default value is -1. This parameter does not need to be set. The SDK automatically matches the most suitable bitrate based on the video resolution and frame rate you set. -
framerate
public int framerateThe frame rate (fps) of the local video. The default value is 5.
-
-
Constructor Details
-
SimulcastStreamConfig
public SimulcastStreamConfig() -
SimulcastStreamConfig
public SimulcastStreamConfig(VideoEncoderConfiguration.VideoDimensions dimensions, int bitrate, int framerate)
-
-
Method Details
-
getBitrate
public int getBitrate() -
getFramerate
public int getFramerate() -
getDimensionsWidth
public int getDimensionsWidth() -
getDimensionsHeight
public int getDimensionsHeight()
-