otc_publisher_video_layer_stats

Represents the statistics for a single published video layer.

In a simulcast configuration, each entry corresponds to one independent video encoding (e.g., low, medium, 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 scalability_mode field.

Properties

Name Type Description
width int32_t Encoded video frame width
height int32_t Encoded video frame height
encoded_frame_rate double Encoded frame rate (fps)
bitrate int64_t Bitrate (bps)
total_bitrate int64_t Bitrate (bps), including RTP headers, padding and payload
scalability_mode const char * Scalability mode string (e.g., "L1T1", "L3T3") for this video layer
quality_limitation_reason enum otc_video_reason Quality degradation reason
codec const char * Current codec for this video layer