stopScreenCaptureBySourceType

Stops screen capture.

abstract stopScreenCaptureBySourceType(sourceType: VideoSourceType): number;

Details

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

Attention:

Parameters

sourceType
The type of the video source. See VideoSourceType.

Returns

  • 0: Success.
  • < 0: Failure.