NERtcLocalRecordingConfig constructor

NERtcLocalRecordingConfig({
  1. String filePath = '',
  2. String fileName = '',
  3. int width = 0,
  4. int height = 0,
  5. int framerate = 15,
  6. NERtcLocalRecordingFileType recordFileType = NERtcLocalRecordingFileType.kNERtcLocalRecordingFileTypeMp4,
  7. bool remuxToMp4 = false,
  8. bool videoMerge = false,
  9. bool recordAudio = false,
  10. NERtcLocalRecordingAudioFormat audioFormat = NERtcLocalRecordingAudioFormat.kNERtcLocalRecorderAudioFormatAac,
  11. bool recordVideo = true,
  12. NERtcLocalRecordingVideoMode videoRecordMode = NERtcLocalRecordingVideoMode.kNERtcLocalRecorderVideoWithAudio,
  13. List<NERtcVideoWatermarkConfig>? watermarkList,
  14. String? coverFilePath,
  15. List<NERtcVideoWatermarkConfig>? coverWatermarkList,
  16. String? defaultCoverFilePath,
})

Implementation

NERtcLocalRecordingConfig({
  this.filePath = '',
  this.fileName = '',
  this.width = 0,
  this.height = 0,
  this.framerate = 15,
  this.recordFileType =
      NERtcLocalRecordingFileType.kNERtcLocalRecordingFileTypeMp4,
  this.remuxToMp4 = false,
  this.videoMerge = false,
  this.recordAudio = false,
  this.audioFormat =
      NERtcLocalRecordingAudioFormat.kNERtcLocalRecorderAudioFormatAac,
  this.recordVideo = true,
  this.videoRecordMode =
      NERtcLocalRecordingVideoMode.kNERtcLocalRecorderVideoWithAudio,
  this.watermarkList,
  this.coverFilePath,
  this.coverWatermarkList,
  this.defaultCoverFilePath,
});