stopLocalRecording static method

Future<void> stopLocalRecording()

Implementation

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