Package com.opentok.android
Class PublisherKit.PublisherVideoStats
java.lang.Object
com.opentok.android.PublisherKit.PublisherVideoStats
- Enclosing class:
PublisherKit
Defines video statistics for a publisher.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe connection ID of the client subscribing to the stream.doubleThe timestamp, in milliseconds since the Unix epoch, from which the cumulative totals started accumulating.The subscriber ID of the client subscribing to the stream (in a relayed session).doubleThe timestamp, in milliseconds since the Unix epoch, for when these stats were gathered.Transport-level network statistics.longThe total number of video bytes bytes sent to the subscriber (or to the OpenTok Media Router).The array of video layer statistics for this publisher.longThe total number of video packets packets that did not reach the subscriber (or the OpenTok Media Router).longThe total number of video packets sent sent to the subscriber (or to the OpenTok Media Router). -
Constructor Summary
ConstructorsConstructorDescriptionPublisherVideoStats(String connectionId, String subscriberId, long videoPacketsLost, long videoPacketsSent, long videoBytesSent, double timeStamp, double startTime, List<PublisherKit.VideoLayerStats> videoLayers, TransportStats transport) Creates a new instance of PublisherVideoStats. -
Method Summary
-
Field Details
-
connectionId
The connection ID of the client subscribing to the stream. -
subscriberId
The subscriber ID of the client subscribing to the stream (in a relayed session). In a routed session, this is set to an empty string. -
videoPacketsLost
public long videoPacketsLostThe total number of video packets packets that did not reach the subscriber (or the OpenTok Media Router). -
videoPacketsSent
public long videoPacketsSentThe total number of video packets sent sent to the subscriber (or to the OpenTok Media Router). -
videoBytesSent
public long videoBytesSentThe total number of video bytes bytes sent to the subscriber (or to the OpenTok Media Router). -
timeStamp
public double timeStampThe timestamp, in milliseconds since the Unix epoch, for when these stats were gathered. -
startTime
public double startTimeThe timestamp, in milliseconds since the Unix epoch, from which the cumulative totals started accumulating. -
videoLayers
The array of video layer statistics for this publisher. -
transport
Transport-level network statistics.
-
-
Constructor Details
-
PublisherVideoStats
public PublisherVideoStats(String connectionId, String subscriberId, long videoPacketsLost, long videoPacketsSent, long videoBytesSent, double timeStamp, double startTime, List<PublisherKit.VideoLayerStats> videoLayers, TransportStats transport) Creates a new instance of PublisherVideoStats.
-