Optional bitrateThe maximum bitrate of the video (Kbps).
Optional bitrateThe minimum bitrate of the video (Kbps).
Optional frameFrame 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]ConstrainLong.
Optional heightHeight 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]ConstrainLong.
Optional widthWidth 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]ConstrainLong.
VideoEncoderConfigurationis the interface that defines the video encoder configurations.You can customize the video encoder configurations when calling [AgoraRTC.createCameraVideoTrack]IAgoraRTC.createCameraVideoTrack or [AgoraRTC.createScreenVideoTrack]IAgoraRTC.createScreenVideoTrack.
The SDK provides the preset video encoder configurations. For more information, see [[VideoEncoderConfigurationPreset]].