enableCustomVideoCapture abstract method

void enableCustomVideoCapture(
  1. TRTCVideoStreamType streamType,
  2. bool enable
)

Enable/Disable custom video capturing mode

After this mode is enabled, the SDK will not run the original video capturing process (i.e., stopping camera data capturing and beauty filter operations) and will retain only the video encoding and sending capabilities.

You need to use sendCustomVideoData to continuously insert the captured video image into the SDK.

Parameters:

Implementation

void enableCustomVideoCapture(TRTCVideoStreamType streamType, bool enable);