videoBitrate property

int videoBitrate
getter/setter pair

Field Meaning: The SDK will encode the target video bitrate according to the target bitrate, and will actively reduce the video bitrate only in a weak network environment.

Recommended values: Please refer to V2TXLiveVideoResolution for the optimal bitrate annotation of each level, or you can increase it appropriately on this basis.

  • For example, V2TXLiveVideoResolution1280x720 corresponds to a target bitrate of 1200kbps, and you can also set it to 1500kbps for better viewing and clarity.

Note: You can set two parameters, videoBitrate and minVideoBitrate, to constrain the SDK to adjust the video bitrate:

  • If you set videoBitrate and minVideoBitrate to the same value, it is equivalent to disabling the SDK's ability to adapt to the video bitrate.

Implementation

int videoBitrate;