HVVideoRecordingConfig constructor

HVVideoRecordingConfig({
  1. required bool shouldRecordVideo,
  2. int? noOfFrames,
  3. double? bitRateM,
  4. int? fps,
})

Creates an instance of HVVideoRecordingConfig to configure video recording in the user's selfie flow.

shouldRecordVideo determines whether video recording should be enabled. noOfFrames defines the number of frames to be recorded. Default is 200 frames. bitRateM specifies the bitrate (in million) of the recorded video. Default is 3M bitrate. fps sets the frames per second (FPS) at which the video should be recorded. Default is 30 FPS.

Implementation

HVVideoRecordingConfig({
  required this.shouldRecordVideo,
  this.noOfFrames,
  this.bitRateM,
  this.fps,
});