PublisherKit.VideoLayerStats

public static class VideoLayerStats

Enclosing class: PublisherKit

Represents the 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 field.

Properties

Name Type Description
width int The width of the video frame, in pixels.
height int The height of the video frame, in pixels.
encodedFrameRate double The encoded video frame rate (in frames per second).
bitrate long The bitrate for this video layer, in bits per second.
totalBitrate long The total bitrate (including RTP headers, padding, and payload).
scalabilityMode String The scalability mode string (for example, "L1T1", "L3T3"). This value may be null if the information is not available.
qualityLimitationReason String The reason for any quality limitation experienced by this layer.
codec String The codec currently used for this video layer (e.g., "VP8", "H264"). This value may be null if the information is not available.

Methods

Name Description
VideoLayerStats(width, height, encodedFrameRate, bitrate, totalBitrate, scalabilityMode, qualityLimitationReason, codec)

VideoLayerStats(width, height, encodedFrameRate, bitrate, totalBitrate, scalabilityMode, qualityLimitationReason, codec)

Parameters:
Name Type Description
width int
height int
encodedFrameRate double
bitrate long
totalBitrate long
scalabilityMode String
qualityLimitationReason String
codec String