OTPublisherKitVideoLayerStats Class Reference
| Inherits from | NSObject |
|---|---|
| Declared in | OTNetworkStatsKit.h |
Overview
Describes statistics for a single published video layer.
In a simulcast configuration, each entry corresponds to one independent
video encoding (for example, low-, medium-, and high-resolution streams
sent in parallel). For SVC (Scalable Video Coding), the publisher typically
sends a single video encoding, with scalability (temporal, spatial, or both)
internally encoded and described via the scalabilityMode property.
width
The width of the video frame, in pixels.
@property (readonly) int32_t widthDeclared In
OTNetworkStatsKit.h
height
The height of the video frame, in pixels.
@property (readonly) int32_t heightDeclared In
OTNetworkStatsKit.h
encodedFrameRate
The encoded video frame rate (in frames per second).
@property (readonly) double encodedFrameRateDeclared In
OTNetworkStatsKit.h
bitrate
The bitrate of this video layer, in bits per second.
@property (readonly) int64_t bitrateDeclared In
OTNetworkStatsKit.h
totalBitrate
The total bitrate, including RTP headers, padding, and payload, in bits per second.
@property (readonly) int64_t totalBitrateDeclared In
OTNetworkStatsKit.h
scalabilityMode
The scalability mode string (for example, “L1T1”, “L3T3”) describing the spatial and/or temporal scalability of this video layer. This property can be null or an empty string when it is not available.\
@property (nullable, readonly) NSString *scalabilityModeDeclared In
OTNetworkStatsKit.h
qualityLimitationReason
The reason for any quality limitation experienced by this video layer.
@property (readonly) OTPublisherVideoEventReason qualityLimitationReasonDeclared In
OTNetworkStatsKit.h
codec
The codec currently used for this video layer.
@property (nullable, readonly) NSString *codecDeclared In
OTNetworkStatsKit.h