HLSSettings Class

public class HLSSettings

HLS settings shared by the Apple HLS player and downloader.

Public

  • Legacy default properties loaded for HLSPlayer when no custom player properties are set.

    Declaration

    Swift

    public static let defaultHLSPlayerPropertiesToLoad: [AssetPropertiesManager.Property]
  • Legacy default properties loaded for HLSDownloader when no custom downloader properties are set.

    Declaration

    Swift

    public static let defaultHLSDownloaderPropertiesToLoad: [AssetPropertiesManager.Property]
  • Default asset properties to load up front for HLSPlayer.

    Declaration

    Swift

    public let hlsPlayerDefaultPropertiesToLoad: [AssetPropertiesManager.Property]
  • Default asset properties to load up front for HLSDownloader.

    Declaration

    Swift

    public let hlsDownloaderDefaultPropertiesToLoad: [AssetPropertiesManager.Property]
  • Sets the native thumbnails seek tolerances in seconds

    Setting it to 0 will force the player to extract the thumbnail images from video data. Default 0.5.

    Declaration

    Swift

    public let nativeThumbnailsSeekTolerance: Double
  • Returns a custom HLSPlayer preload override, or nil to preserve the legacy player behavior.

    Declaration

    Swift

    public var customHLSPlayerDefaultPropertiesToLoad: [AssetPropertiesManager.Property]? { get }
  • Active HLS settings used by HLSPlugin, HLSPlayer, and HLSDownloader.

    Declaration

    Swift

    public static var current: HLSSettings