StreamInformation

public protocol StreamInformation

Stream Information Metadata.

  • The number of displayable frames that could not be displayed

    Declaration

    Swift

    var numberOfDroppedVideoFrames: Int? { get }
  • The array of variant switches

    Declaration

    Swift

    var variantSwitchArray: [Double]? { get }
  • The number of variant switches

    Declaration

    Swift

    var numberOfVariantSwitches: Int? { get }
  • The video resolution of the currently playing variant

    Declaration

    Swift

    var videoResolution: CGSize? { get }
  • The last played variant

    Declaration

    Swift

    var lastPlayedVariant: Double? { get }
  • The maximum video bitrate available in the manifest (in Kbps)

    Declaration

    Swift

    var maxVideoBitrateKbps: Double? { get }
  • The currently indicated bitrate (in Kbps)

    Declaration

    Swift

    var indicatedBitrateKbps: Double? { get }
  • The stream startup time

    Declaration

    Swift

    var startupTime: CFTimeInterval { get }
  • The time weighted value of the variant indicated bitrate

    Declaration

    Swift

    var timeWeightedIBR: Double { get }
  • The stall rate

    Declaration

    Swift

    var stallRate: Double { get }
  • The stall wait ratio

    Declaration

    Swift

    var stallWaitRatio: Double { get }
  • The duration of all stalls

    Declaration

    Swift

    var totalStallTime: CFTimeInterval { get }
  • The number of stalls

    Declaration

    Swift

    var numberOfStalls: Int { get }
  • The total duration spent playing in seconds Note: If PIP in CSAI is enabled, then it will include the ad’s watched duration also. Otherwise, It won’t include the ad’s watched duration.

    Declaration

    Swift

    var totalDurationWatched: Double { get }
  • The program duration spent playing in seconds

    Declaration

    Swift

    var programWatchedDuration: Double { get }
  • The stream start up time parameters. It includes SSAI stream load time, DRM license load time and Pre-roll ad load time. All values are in milliseconds.

    Declaration

    Swift

    var streamStartUpTimeData: StreamStartUpTimeData? { get set }