Interface Metrics
-
- All Implemented Interfaces:
public interface Metrics
The metrics API which can be used to gather information related to the quality-of-service and video playback experience.
- Values will be updated periodically.
- Since:
v2.46.0
-
-
Method Summary
Modifier and Type Method Description abstract BufferedSegments
getBufferedSegments()
The total number of audio and video segments in the buffer. abstract long
getCorruptedVideoFrames()
The total number of corrupted video frames since the last source change. abstract double
getCurrentBandwidthEstimate()
The current estimated bandwidth since the last source change. abstract long
getDroppedVideoFrames()
The total number of dropped video frames since the last source change. abstract long
getTotalVideoFrames()
The total number of decoded video frames since the last source change. abstract long
getTotalBytesLoaded()
The total number of bytes loaded since the last source change. -
-
Method Detail
-
getBufferedSegments
@NonNull() abstract BufferedSegments getBufferedSegments()
The total number of audio and video segments in the buffer.
- This value is currently available only for DASH.
- For more details, see BufferedSegments
-
getCorruptedVideoFrames
abstract long getCorruptedVideoFrames()
The total number of corrupted video frames since the last source change.
- Returns:
The number of corrupted video frames.
-
getCurrentBandwidthEstimate
abstract double getCurrentBandwidthEstimate()
The current estimated bandwidth since the last source change.
- Represented in bits per second.
- Returns:
The current estimated bandwidth.
-
getDroppedVideoFrames
abstract long getDroppedVideoFrames()
The total number of dropped video frames since the last source change.
- Returns:
The number of dropped video frames.
-
getTotalVideoFrames
abstract long getTotalVideoFrames()
The total number of decoded video frames since the last source change.
- Returns:
The total number of decoded video frames.
-
getTotalBytesLoaded
abstract long getTotalBytesLoaded()
The total number of bytes loaded since the last source change.
- Returns:
The total number of bytes loaded.
-
-
-
-