Rendering

@objc
public protocol Rendering

Playback analytics related to the player

  • Returns the total number of dropped video frames

    Declaration

    Swift

    func frameDrops() -> Int

    Return Value

    the total number of dropped video frames

  • Returns the total number of dropped dived by the length of watched content

    Declaration

    Swift

    func frameDropsPerSecond() -> Int

    Return Value

    the total number of dropped dived by the length of watched content

  • Returns the frame rate of the current content as measured during playback.

    Declaration

    Swift

    func framesPerSecond() -> Int

    Return Value

    the frame rate of the current content as measured during playback.

  • Returns the frame rate of the current content as announced in the stream.

    Note

    This function will make a seperate request for the Master playlist to return all the stream information. 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 framesPerSecondNominal() -> Int

    Return Value

    the frame rate of the current content as announced in the stream.