OpenTok.Publisher.VideoLayerStats
public class VideoLayerStats
Enclosing type: OpenTok.Publisher
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 |
{ get; } The width of the video frame, in pixels. |
Height |
int |
{ get; } The height of the video frame, in pixels. |
EncodedFrameRate |
double |
{ get; } The encoded video frame rate (in frames per second). |
Bitrate |
long |
{ get; } The bitrate for this video layer, in bits per second. |
TotalBitrate |
long |
{ get; } The total bitrate (including RTP headers, padding, and payload). |
ScalabilityMode |
string |
{ get; } Scalability mode string (e.g., "L1T1", "L3T3") for this video layer. Indicates spatial and temporal scalability configuration. |
QualityLimitationReason |
VideoReason |
{ get; } Quality degradation reason for this layer (e.g., bandwidth, CPU, other). |
Codec |
string |
{ get; } The codec currently used for this video layer (e.g., "VP8", "H264"). |