startLocalRecording method
- TRTCLocalRecordingParams param
Start local media recording with both audio and video data
This API records the audio/video content during live streaming into a local file.
Parameters:
params
Recording parameters. For more information, please see TRTCLocalRecordingParams
Platform not supported:
- web
Implementation
Future<void> startLocalRecording(TRTCLocalRecordingParams param) async {
return _cloudChannel!.invokeMethod('startLocalRecording', {
"param": jsonEncode(param),
});
}