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

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • 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.