DownloadConfig

@objc(BMPDownloadConfig)
@objcMembers
public final class DownloadConfig : NSObject

Contains config options which can be used to alter the default behaviour of content downloads.

  • The lowest media bitrate greater than or equal to this value in bps will be selected for download. If no suitable media bitrate is found or if set to nil, the highest media bitrate will be selected.

    Declaration

    Swift

    public var minimumBitrate: NSNumber?
  • Indicates whether to scan for ClearKey decryption keys and store them for offline playback. Default: false

    To prevent issues with playback of offline content, make sure that the EXT-X-PLAYLIST-TYPE:VOD tag is present in all variant playlists.

    Declaration

    Swift

    public var supportClearKeyContent: Bool
  • Contains tweaks which can be used to alter the default behaviour of a source download. When using one of the tweaks, be aware that they could be removed or changed in behaviour even with minor version updates of the Bitmovin Player SDK. Such changes will be stated in the release notes.

    Declaration

    Swift

    public var tweaksConfig: DownloadTweaksConfig
  • Declaration

    Swift

    override public init()