setVideoEncoderConfiguration abstract method

Future<void> setVideoEncoderConfiguration(
  1. VideoEncoderConfiguration config
)

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.

  • config Video profile. See VideoEncoderConfiguration.

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> setVideoEncoderConfiguration(VideoEncoderConfiguration config);