The video encoding bitrate (Kbps).
Choose one of the following options:
COMMUNICATION
profile: the encoding bitrate equals the base bitrate.LIVE_BROADCASTING
profile: the encoding bitrate is twice the base bitrate.The COMMUNICATION
profile prioritizes smoothness, while the LIVE_BROADCASTING
profile prioritizes video quality (requiring
a higher bitrate). We recommend setting the bitrate mode as STANDARD_BITRATE
to address this difference.
The following table lists the recommended video encoder configurations, where the base bitrate applies to the COMMUNICATION
profile. Set your bitrate based on this table. If you set a bitrate beyond the proper range, the SDK automatically sets it
to within the range.
The video encoding degradation preference under limited bandwidth: DEGRADATION_PREFERENCE.
The video frame dimensions (px) used to specify the video quality and measured by the total number of pixels along a frame's width and height: VideoDimensions. The default value is 640 x 360.
The frame rate of the video: FRAME_RATE. The default value is 15.
Note that we do not recommend setting this to a value greater than 30.
The minimum encoding bitrate (Kbps).
The SDK automatically adjusts the encoding bitrate to adapt to the network conditions. Using a value greater than the default value forces the video encoder to output high-quality images but may cause more packet loss and hence sacrifice the smoothness of the video transmission. That said, unless you have special requirements for image quality, Agora does not recommend changing this value.
The minimum frame rate of the video. The default value is -1.
Sets the mirror mode of the published local video stream. It only affects the video that the remote user sees. See VIDEO_MIRROR_MODE_TYPE.
The video orientation mode of the video: ORIENTATION_MODE.
Generated using TypeDoc
Video encoder configurations.