ABRConfiguration

public protocol ABRConfiguration

The ABR object enables control of the adaptive bitrate behavior of the player.

  • The strategy to use to drive the adaptive bitrate behavior of the player. This configuration will only work with THEOlive streams and will not have any effect for other types of streams.

    Declaration

    Swift

    var strategy: ABRStrategyConfiguration { get set }
  • The amount of seconds of video to buffer in advance.

    Declaration

    Swift

    var targetBuffer: Double { get set }
  • The desired limit, in bits per second, of network bandwidth consumption. Defaults to 0, which indicates there is no limit.

    Declaration

    Swift

    var preferredPeakBitRate: Double { get set }
  • The desired maximum resolution of a video that is to be downloaded. Defaults to CGSizeZero, which indicates there is no limit on the video resolution.

    Declaration

    Swift

    var preferredMaximumResolution: CGSize { get set }