The maximum bitrate of the video (Kbps).
The minimum bitrate of the video (Kbps).
Frame rate of the video (fps).
You can pass a number, or a constraint such as { max: 30, min: 5 }.
For details about the constraint, see ConstrainLong.
Height of the video.
You can pass a number, or a constraint such as { max: 1280, min: 720 }.
For more details about the constraint, see ConstrainLong.
The minimum height allowed during automatic downscaling.
When the SDK takes over resolution downscaling, the sending height will not go below this value.
The minimum width allowed during automatic downscaling.
When the SDK takes over resolution downscaling, the sending width will not go below this value.
Width of the video.
You can pass a number, or a constraint such as { max: 1280, min: 720 }.
For more details about the constraint, see ConstrainLong.
VideoEncoderConfigurationis the interface that defines the video encoder configurations.You can customize the video encoder configurations when calling AgoraRTC.createCameraVideoTrack or AgoraRTC.createScreenVideoTrack.
The SDK provides the preset video encoder configurations. For more information, see VideoEncoderConfigurationPreset.