setVideoEncoderConfiguration abstract method

Future<void> setVideoEncoderConfiguration(
  1. VideoEncoderConfiguration config
)

Sets the video encoder configuration. Sets the encoder configuration for the local video. You can call this method either before or after joining a channel. If you don't need to set the video encoder configuration after joining a channel, Agora recommends you calling this method before the enableVideo method to reduce the rendering time of the first video frame.

Param config Video profile. See VideoEncoderConfiguration .

Implementation

Future<void> setVideoEncoderConfiguration(VideoEncoderConfiguration config);