Skip to main content

AVAssetDownloadTaskMinimumRequiredMediaBitrateKey

Static AVAssetDownloadTaskMinimumRequiredMediaBitrateKey 

Source
pub unsafe static AVAssetDownloadTaskMinimumRequiredMediaBitrateKey: &'static NSString
👎Deprecated:

Use AVAssetDownloadConfiguration:variantQualifiers with assetVariantQualifierWithPredicate using desired comparison value against averageBitRate/peakBitRate instead

Available on crate feature AVAssetDownloadTask only.
Expand description

The lowest media bitrate greater than or equal to this value will be selected. Value should be a NSNumber in bps. If no suitable media bitrate is found, the highest media bitrate will be selected. The value for this key should be a NSNumber.

By default, the highest media bitrate will be selected for download.

See also Apple’s documentation