Agora Java API Reference for Android
Public Member Functions | Public Attributes | List of all members
io.agora.rtc2.SimulcastStreamConfig Class Reference

The configuration of the low-quality video stream. More...

Public Member Functions

 SimulcastStreamConfig (VideoEncoderConfiguration.VideoDimensions dimensions, int bitrate, int framerate)
 
int getBitrate ()
 
int getFramerate ()
 
int getDimensionsWidth ()
 
int getDimensionsHeight ()
 

Public Attributes

VideoEncoderConfiguration.VideoDimensions dimensions
 
int bitrate
 
int framerate
 

Detailed Description

The configuration of the low-quality video stream.

Member Data Documentation

◆ dimensions

VideoEncoderConfiguration.VideoDimensions io.agora.rtc2.SimulcastStreamConfig.dimensions

The video dimension. See VideoDimensions. The default value is 50% of the high-quality video stream.

◆ bitrate

int io.agora.rtc2.SimulcastStreamConfig.bitrate

Video 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

int io.agora.rtc2.SimulcastStreamConfig.framerate

The frame rate (fps) of the local video. The default value is 5.