BMPDownloadConfiguration

Objective-C


@interface BMPDownloadConfiguration : BMPConfiguration

Swift

class DownloadConfiguration : Configuration

Contains configuration 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

    Objective-C

    @property (nonatomic, strong, nullable) NSNumber *minimumBitrate;

    Swift

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

    @Note 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

    Objective-C

    @property (nonatomic) BOOL supportClearKeyContent;

    Swift

    var supportClearKeyContent: Bool { get set }
  • 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

    Objective-C

    @property (nonatomic, strong, nonnull) BMPDownloadTweaksConfiguration *tweaksConfiguration;

    Swift

    var tweaksConfiguration: DownloadTweaksConfiguration { get set }