Package com.opentok.android
Class PublisherKit.VideoLayerStats
java.lang.Object
com.opentok.android.PublisherKit.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.
-
Field Summary
FieldsModifier and TypeFieldDescriptionlongThe bitrate for this video layer, in bits per second.The codec currently used for this video layer (e.g., "VP8", "H264").doubleThe encoded video frame rate (in frames per second).intThe height of the video frame, in pixels.The reason for any quality limitation experienced by this layer.The scalability mode string (for example, "L1T1", "L3T3").longThe total bitrate (including RTP headers, padding, and payload).intThe width of the video frame, in pixels. -
Constructor Summary
ConstructorsConstructorDescriptionVideoLayerStats(int width, int height, double encodedFrameRate, long bitrate, long totalBitrate, String scalabilityMode, String qualityLimitationReason, String codec) -
Method Summary
-
Field Details
-
width
public int widthThe width of the video frame, in pixels. -
height
public int heightThe height of the video frame, in pixels. -
encodedFrameRate
public double encodedFrameRateThe encoded video frame rate (in frames per second). -
bitrate
public long bitrateThe bitrate for this video layer, in bits per second. -
totalBitrate
public long totalBitrateThe total bitrate (including RTP headers, padding, and payload). -
scalabilityMode
The scalability mode string (for example, "L1T1", "L3T3"). This value may be null if the information is not available. -
qualityLimitationReason
The reason for any quality limitation experienced by this layer. -
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
-