snapshotVideo abstract method

void snapshotVideo(
  1. String userId,
  2. TRTCVideoStreamType streamType,
  3. TRTCSnapshotSourceType sourceType
)

Screencapture video(Only supports Windows)

You can use this API to screencapture the local video image or the primary stream image and substream (screen sharing) image of a remote user.

Parameters:

Note: On Windows, only video image from the TRTCSnapshotSourceType.stream source can be screencaptured currently.

Implementation

void snapshotVideo(String userId, TRTCVideoStreamType streamType, TRTCSnapshotSourceType sourceType);