setVideoEncoderConfigurationEx abstract method
Future<void>
setVideoEncoderConfigurationEx({
- required VideoEncoderConfiguration config,
- required RtcConnection connection,
Sets the video encoder configuration.
Sets the encoder configuration for the local video. Each configuration profile corresponds to a set of video parameters, including the resolution, frame rate, and bitrate.
configVideo profile. See VideoEncoderConfiguration.connectionThe connection information. See RtcConnection.
Returns When the method call succeeds, there is no return value; when fails, the AgoraRtcException exception is thrown. You need to catch the exception and handle it accordingly.
Implementation
Future<void> setVideoEncoderConfigurationEx(
{required VideoEncoderConfiguration config,
required RtcConnection connection});