Package com.opentok.android
Class SubscriberKit.SubscriberVideoStats
java.lang.Object
com.opentok.android.SubscriberKit.SubscriberVideoStats
- Enclosing class:
SubscriberKit
Defines video statistics for a subscriber.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionlongThe bitrate, in bits per second.Codec used for the video stream.doubleThe decoded video frame rate (in frames per second)longNumber of times the subscriber’s video has frozen.intThe height of the video frame, in pixels.longNumber of times the subscriber’s video playback has paused.Sender-side network estimation stats.doubleThe timestamp, in milliseconds since the Unix epoch, for when these stats were gathered.longThe total bitrate (including RTP headers, padding, and payload).longCumulative duration (in milliseconds) of all video freezes.longCumulative duration (in milliseconds) of all video pauses.intThe total number of video bytes received by the subscriber.intThe total number of video packets lost by the subscriber.intThe total number of video packets received by the subscriber.intThe width of the video frame, in pixels. -
Method Summary
-
Field Details
-
videoPacketsLost
public int videoPacketsLostThe total number of video packets lost by the subscriber. -
videoPacketsReceived
public int videoPacketsReceivedThe total number of video packets received by the subscriber. -
videoBytesReceived
public int videoBytesReceivedThe total number of video bytes received by the subscriber. -
timeStamp
public double timeStampThe timestamp, in milliseconds since the Unix epoch, for when these stats were gathered. -
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 widthThe width of the video frame, in pixels. -
height
public int heightThe height of the video frame, in pixels. -
decodedFrameRate
public double decodedFrameRateThe decoded video frame rate (in frames per second) -
bitrate
public long bitrateThe bitrate, in bits per second. -
totalBitrate
public long totalBitrateThe total bitrate (including RTP headers, padding, and payload). -
pauseCount
public long pauseCountNumber 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 totalPausesDurationCumulative duration (in milliseconds) of all video pauses. -
freezeCount
public long freezeCountNumber 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 totalFreezesDurationCumulative duration (in milliseconds) of all video freezes. -
codec
Codec used for the video stream. This value may be null if the information is not available.
-