HlsDownloadOptions constructor
const
HlsDownloadOptions({
- String? downloadId,
- int retryAttempts = 3,
- Map<
String, String> customHeaders = const {}, - HlsVariantSelection variantSelection = HlsVariantSelection.highestBandwidth,
- bool combineSegments = true,
- bool deleteSegmentsAfterCombine = true,
- bool keepTempFilesOnFailure = false,
- String outputFileExtension = 'mp4',
- String? outputDirectoryPath,
- BatchProgressCallback? batchProgressCallback,
- HlsLogLevel logLevel = HlsLogLevel.error,
- HlsLogCallback? logCallback,
Implementation
const HlsDownloadOptions({
this.downloadId,
this.retryAttempts = 3,
this.customHeaders = const {},
this.variantSelection = HlsVariantSelection.highestBandwidth,
this.combineSegments = true,
this.deleteSegmentsAfterCombine = true,
this.keepTempFilesOnFailure = false,
this.outputFileExtension = 'mp4',
this.outputDirectoryPath,
this.batchProgressCallback,
this.logLevel = HlsLogLevel.error,
this.logCallback,
});