startLocalRecording static method

Future<void> startLocalRecording()

Implementation

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