pauseVideoRecording method

  1. @override
Future<void> pauseVideoRecording(
  1. int cameraId
)

Pause video recording.

Implementation

@override
Future<void> pauseVideoRecording(int cameraId) {
  try {
    return getCamera(cameraId).pauseVideoRecording();
  } on html.DomException catch (e) {
    throw PlatformException(code: e.name, message: e.message);
  } on CameraWebException catch (e) {
    _addCameraErrorEvent(e);
    throw PlatformException(code: e.code.toString(), message: e.description);
  }
}