Download Class

open class Download : Codable

Download

only for DASH streams

  • TODO: Merge this in drm config above? we collect here all the key URIs found in the attribute URI of EXT-X-KEY and EXT-X-SESSION-KEY

    Declaration

    Swift

    public var fairplayKeyURIs: [String]
  • Set your preferred video bitrate to be downloaded.

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

    Remark

    Value is expressed in bps.

    Remark

    Only for HLS streams.

    Declaration

    Swift

    public var preferredBitrate: Int?