stopLocalRecording method

Future<void> stopLocalRecording()

Implementation

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