AdaptiveStreaming

@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.

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

    Declaration

    Objective-C

    - (NSArray<NSNumber *> *_Nullable)availableBitrates;
  • Returns the bitrate from the playlist that has been selected for playback, in bits per second

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

    Declaration

    Objective-C

    - (double)selectedBitrate;
  • Returns the number of times the bitrate has switched.

    returns: the number of times the bitrate has switched.

    Declaration

    Objective-C

    - (NSInteger)bitrateSwitches;
  • Returns the number of times the bitrate has switched to a lower bitrate.

    returns: the number of times the bitrate has switched to a lower bitrate.

    Declaration

    Objective-C

    - (NSInteger)bitrateDowngrade;
  • Returns the Video and Audio track’s average bit rate, in bits per second.

    returns: the Video and Audio track’s average bit rate, in bits per second.

    Declaration

    Objective-C

    - (NSInteger)averageBitrate;
  • Returns the video track’s average bit rate, in bits per second.

    returns: the video track’s average bit rate, in bits per second.

    Declaration

    Objective-C

    - (NSInteger)averageVideoBitrate;
  • Returns the audio track’s average bit rate, in bits per second.

    returns: the audio track’s average bit rate, in bits per second.

    Declaration

    Objective-C

    - (NSInteger)averageAudioBitrate;