IVSLocalVideoStats

Objective-C


@interface IVSLocalVideoStats : NSObject

Swift

class IVSLocalVideoStats : NSObject

A quality stats class that represents local video

  • The network quality associates with publishing local video

    Declaration

    Objective-C

    @property (nonatomic, readonly) IVSStageStreamNetworkQuality networkQuality;

    Swift

    var networkQuality: IVSStageStreamNetworkQuality { get }
  • The indication if SDK is actively sending local video or not

    Declaration

    Objective-C

    @property (nonatomic, readonly) BOOL active;

    Swift

    var active: Bool { get }
  • Represents the width of the last encoded frame

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSInteger frameWidth;

    Swift

    var frameWidth: Int { get }
  • Represents the height of the last encoded frame

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSInteger frameHeight;

    Swift

    var frameHeight: Int { get }
  • The number of encoded frames during the last second

    Declaration

    Objective-C

    @property (nonatomic, readonly) double framesPerSecond;

    Swift

    var framesPerSecond: Double { get }
  • rid

    Represents the layer used by simulcast, and it is not empty only when simulcast is enabled

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly) NSString *_Nonnull rid;

    Swift

    var rid: String { get }
  • The NACK count received by SDK for sending video

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSInteger nackCount;

    Swift

    var nackCount: Int { get }
  • The number of video RTP packets sent

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSInteger packetsSent;

    Swift

    var packetsSent: Int { get }
  • The number of video RTP packets retransmitted

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSInteger retransmittedPacketsSent;

    Swift

    var retransmittedPacketsSent: Int { get }
  • The total number of video bytes sent, and it includes retransmissions

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSInteger bytesSent;

    Swift

    var bytesSent: Int { get }
  • The number of RTP header bytes sent

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSInteger headerBytesSent;

    Swift

    var headerBytesSent: Int { get }
  • The number of retransmitted bytes

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSInteger retransmittedBytesSent;

    Swift

    var retransmittedBytesSent: Int { get }
  • The total number of seconds that RTP packets have bufferered locally

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSInteger totalPacketSendDelay;

    Swift

    var totalPacketSendDelay: Int { get }
  • The total number of Full Intra Request(FIR) packets received

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSInteger firCount;

    Swift

    var firCount: Int { get }
  • The total number of Picture Loss Indication(PLI) packets received

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSInteger pliCount;

    Swift

    var pliCount: Int { get }
  • The number of video frames encoded

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSInteger framesEncoded;

    Swift

    var framesEncoded: Int { get }
  • The number of video key frames encoded

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSInteger keyFramesEncoded;

    Swift

    var keyFramesEncoded: Int { get }
  • The total number of seconds that has been spent encoding video frames

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSInteger totalEncodeTime;

    Swift

    var totalEncodeTime: Int { get }
  • The value is increaed by the target frame size in bytes every time a frame has been encoded

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSInteger totalEncodedBytesTarget;

    Swift

    var totalEncodedBytesTarget: Int { get }
  • Represents the total number of frames sent

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSInteger framesSent;

    Swift

    var framesSent: Int { get }
  • Represents the total number of huge frames sent

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSInteger hugeFramesSent;

    Swift

    var hugeFramesSent: Int { get }
  • The current reason for limiting the resolution and/or framerate

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly) NSString *_Nonnull qualityLimitationReason;

    Swift

    var qualityLimitationReason: String { get }
  • The total number of seconds that SDK has spent in each quality limitation state

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSInteger qualityLimitationResolutionChanges;

    Swift

    var qualityLimitationResolutionChanges: Int { get }
  • The total time spent in quality limitation state due to cpu

    Declaration

    Objective-C

    @property (nonatomic, readonly) double qualityLimitationCpuDuration;

    Swift

    var qualityLimitationCpuDuration: Double { get }
  • The total time spent in quality limitation state due to restricted bandwidth

    Declaration

    Objective-C

    @property (nonatomic, readonly) double qualityLimitationBandwidthDuration;

    Swift

    var qualityLimitationBandwidthDuration: Double { get }
  • Mime type

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly) NSString *_Nonnull mime;

    Swift

    var mime: String { get }