Metrics

@available(*, deprecated, message: "With the next major release `Metrics` will no longer inherit from `NSObject` nor conform to `Codable`.")
public class Metrics : NSObject, Codable

The metrics API which can be used to gather information related to the quality-of-service and video playback experience.

Remark

  • Values will be updated periodically.

Since

v2.46.0.
  • The total number of dropped video frames.

    Declaration

    Swift

    internal(set) public var droppedVideoFrames: Int { get set }
  • The rendered frame rate of the video as it plays, in units of frames per second.

    Declaration

    Swift

    internal(set) public var renderedFramerate: Double { get set }