ABRStrategyType

@objc(THEOplayerABRStrategyType)
public enum ABRStrategyType : Int
extension ABRStrategyType: Codable

The different adaptive bitrate (ABR) strategies.

  • The player will optimize ABR behavior to focus on the performance of the player.

    Remark

    This strategy initiates playback with the lowest quality suitable for the device which often means faster start-up time.

    Declaration

    Swift

    @objc(THEOplayerABRStrategyTypePERFORMANCE)
    case performance = 1
  • The player will optimize ABR behavior to focus on displaying the best visual quality to the end-user as fast as possible.

    Remark

    This does not mean that the playback will start with the highest quality, only that it will switch to it faster.

    Declaration

    Swift

    @objc(THEOplayerABRStrategyTypeQUALITY)
    case quality = 2
  • The player will optimize ABR behavior to focus on displaying the most optimal quality based on the ABR metadata passed in with the ABRStrategyConfiguration, by initially capping the bitrate to match the provided bitrate in the ABR metadata.

    Remark

    This is the default strategy.

    Declaration

    Swift

    @objc(THEOplayerABRStrategyTypeBANDWIDTH)
    case bandwidth = 3
  • The raw value of type String.

    Declaration

    Swift

    public var _rawValue: String { get set }