Class SubscriberKit.SubscriberVideoStats

java.lang.Object
com.opentok.android.SubscriberKit.SubscriberVideoStats
Enclosing class:
SubscriberKit

public static class SubscriberKit.SubscriberVideoStats extends Object
Defines video statistics for a subscriber.
See Also:
  • Field Details

    • videoPacketsLost

      public int videoPacketsLost
      The total number of video packets lost by the subscriber.
    • videoPacketsReceived

      public int videoPacketsReceived
      The total number of video packets received by the subscriber.
    • videoBytesReceived

      public int videoBytesReceived
      The total number of video bytes received by the subscriber.
    • timeStamp

      public double timeStamp
      The timestamp, in milliseconds since the Unix epoch, for when these stats were gathered.
    • senderStats

      public SubscriberKit.SenderStats senderStats
      Sender-side network estimation stats. This may be null if stats are not available. Due to network latency, sender statistics may not be immediately available after the initial stats request.
    • width

      public int width
      The width of the video frame, in pixels.
    • height

      public int height
      The height of the video frame, in pixels.
    • decodedFrameRate

      public double decodedFrameRate
      The decoded video frame rate (in frames per second)
    • bitrate

      public long bitrate
      The bitrate, in bits per second.
    • totalBitrate

      public long totalBitrate
      The total bitrate (including RTP headers, padding, and payload).
    • pauseCount

      public long pauseCount
      Number of times the subscriber’s video playback has paused. Video is considered paused if the time since the last rendered frame exceeds 5 seconds.
    • totalPausesDuration

      public long totalPausesDuration
      Cumulative duration (in milliseconds) of all video pauses.
    • freezeCount

      public long freezeCount
      Number of times the subscriber’s video has frozen. A freeze is defined according to https://www.w3.org/TR/webrtc-stats/#dom-rtcinboundrtpstreamstats-freezecount
    • totalFreezesDuration

      public long totalFreezesDuration
      Cumulative duration (in milliseconds) of all video freezes.
    • codec

      public String codec
      Codec used for the video stream. This value may be null if the information is not available.