snapshotVideo method
Future<void>
snapshotVideo(
- String userId,
- TRTCVideoStreamType streamType,
- TRTCSnapshotSourceType sourceType,
- String path,
Implementation
Future<void> snapshotVideo(String userId, TRTCVideoStreamType streamType, TRTCSnapshotSourceType sourceType, String path) async {
_channel.invokeMethod("snapshotVideo", {
"userId": userId,
"streamType": streamType.value(),
"sourceType": sourceType.value(),
"path": path,
});
}