com.opentok.android.PublisherKit.VideoLayerStats
Enclosing class:
: PublisherKit
public static class PublisherKit.VideoLayerStats extends Object
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.
Field Summary
Fields
Modifier and Type
Field
Description
long
bitrate
The bitrate for this video layer, in bits per second.
String
codec
The codec currently used for this video layer (e.g., "VP8", "H264").
double
encodedFrameRate
The encoded video frame rate (in frames per second).
int
height
The height of the video frame, in pixels.
String
qualityLimitationReason
The reason for any quality limitation experienced by this layer.
String
scalabilityMode
The scalability mode string (for example, "L1T1", "L3T3").
long
totalBitrate
The total bitrate (including RTP headers, padding, and payload).
int
width
The width of the video frame, in pixels.
Constructor Summary
Constructors
Constructor
Description
VideoLayerStats(int width, int height, double encodedFrameRate, long bitrate, long totalBitrate, String scalabilityMode, String qualityLimitationReason, String codec)
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Field Details
width
public int width
The width of the video frame, in pixels.
height
public int height
The height of the video frame, in pixels.
encodedFrameRate
public double encodedFrameRate
The encoded video frame rate (in frames per second).
bitrate
public long bitrate
The bitrate for this video layer, in bits per second.
totalBitrate
public long totalBitrate
The total bitrate (including RTP headers, padding, and payload).
scalabilityMode
public String scalabilityMode
The scalability mode string (for example, "L1T1", "L3T3"). This value may be null if the information is not available.
qualityLimitationReason
public String qualityLimitationReason
The reason for any quality limitation experienced by this layer.
codec
public String codec
The codec currently used for this video layer (e.g., "VP8", "H264"). This value may be null if the information is not available.
Constructor Details
VideoLayerStats
public VideoLayerStats(int width, int height, double encodedFrameRate, long bitrate, long totalBitrate, String scalabilityMode, String qualityLimitationReason, String codec)