startVideoRecording method

Future<void> startVideoRecording(
  1. int cameraId,
  2. {Duration? maxVideoDuration}
)

Starts a video recording.

The length of the recording can be limited by specifying the maxVideoDuration. By default no maximum duration is specified, meaning the recording will continue until manually stopped. With maxVideoDuration set the video is returned in a VideoRecordedEvent through the onVideoRecordedEvent stream when the set duration is reached.

This method is deprecated in favour of startVideoCapturing.

Implementation

Future<void> startVideoRecording(int cameraId, {Duration? maxVideoDuration}) {
  throw UnimplementedError('startVideoRecording() is not implemented.');
}