enableCustomVideoCapture abstract method
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:
- enable(bool):
- Whether to enable.
- Default value: false.
- streamType(TRTCVideoStreamType):
- Specify video stream type (TRTCVideoStreamType.big : HD big image; TRTCVideoStreamType.sub : substream image).
Implementation
void enableCustomVideoCapture(TRTCVideoStreamType streamType, bool enable);