startVideoRecording method

Future<void> startVideoRecording()

Starts recording video

Implementation

Future<void> startVideoRecording() async {
  if (_isRecording) throw ("Recording already in progress");
  if (Platform.isAndroid) {
    _deepArPlatformHandler.startRecordingVideoAndroid();
    _isRecording = true;
  } else {
    _deepArPlatformHandler.startRecordingVideoIos(_textureId!);
    _isRecording = true;
  }
}