startLocalRecording method

Future<void> startLocalRecording()

Implementation

Future<void> startLocalRecording() async {
  _checkDisposed('startLocalRecording');
  try {
    await WebRTC.invokeMethod(
      'startLocalRecording',
      <String, dynamic>{
        'factoryId': factoryId,
      },
    );
  } on PlatformException catch (e) {
    throw 'Unable to start local recording: ${e.message}';
  }
}