stopCameraCapture

Stops camera capture.

public abstract int stopCameraCapture(Constants.VideoSourceType sourceType);

Details

Since
v4.2.0

After calling startCameraCapture to start capturing video through one or more cameras, you can call this method and set the sourceType parameter to stop the capture from the specified cameras.

Attention: If you are using the local video mixing function, calling this method can cause the local video mixing to be interrupted.

Parameters

sourceType
The type of the video source. See VideoSourceType.

Returns

  • 0: Success.
  • < 0: Failure.