setVideoCaptureConfig abstract method

Future<int?> setVideoCaptureConfig(
  1. VideoCaptureConfig config
)

Sets the video capture parameters for internal capturing of the RTC SDK.

Notes:

  • This API can be called after the engine is created and takes effect immediately after the call. It is recommended to call this API before calling RTCVideo.startVideoCapture.
  • It is recommended to use the same video capture parameters for different engines on the same device.
  • Internal capturing defaults to Auto mode.

Implementation

Future<int?> setVideoCaptureConfig(VideoCaptureConfig config);