CrMixerOutPutCfg constructor

CrMixerOutPutCfg({
  1. required CR_MIXER_OUTPUT_TYPE type,
  2. String? fileName,
  3. int? encryptType,
  4. bool? isUploadOnRecording,
  5. String? serverPathFileName,
  6. String? liveUrl,
  7. int? errRetryTimes,
})

Implementation

CrMixerOutPutCfg({
  required this.type,
  this.fileName,
  this.encryptType,
  this.isUploadOnRecording,
  this.serverPathFileName,
  this.liveUrl,
  this.errRetryTimes,
}) {
  encryptType = encryptType ?? 0;
  isUploadOnRecording = isUploadOnRecording ?? false;
  serverPathFileName = serverPathFileName ?? "";
  liveUrl = liveUrl ?? "";
  errRetryTimes = errRetryTimes ?? 1;
}