AdaptiveStreaming

@objc
public protocol AdaptiveStreaming

Network analytics related to adaptive streaming

  • Returns an array of bitrates available in the playlist

    Note

    This function will make a seperate request for the Master playlist to return all the availableBitrates. This request is only done once you call this function and only on the first time you call it for that contnet. Every subsiquent call on the same content does not requst the playlist again.

    Declaration

    Swift

    func availableBitrates() -> [Int]?

    Return Value

    an array of bitrates available in the playlist, or nil if unknown

  • Returns the bitrate from the playlist that has been selected for playback, in bits per second

    Declaration

    Swift

    func selectedBitrate() -> Double

    Return Value

    the bitrate from the playlist that has been selected for playback, or 0 if unknown