ABRMetadata

public class ABRMetadata : NSObject, Codable

The ABRMetadata specifies extra metadata that can be used to drive the ABR behavior of the player.

  • Specifying the bitrate allows you to initially cap the bandwidth consumption to a specified bitrate, in bits per second.

    Declaration

    Swift

    public let bitrate: Double?
  • Constructs an ABRMetadata struct given a bitrate.

    Declaration

    Swift

    public init(bitrate: Double)

    Parameters

    bitrate

    The initial bitrate to cap the player ABR to.