Class PublisherKit.PublisherVideoStats

java.lang.Object
com.opentok.android.PublisherKit.PublisherVideoStats
Enclosing class:
PublisherKit

public static class PublisherKit.PublisherVideoStats extends Object
Defines video statistics for a publisher.
See Also:
  • Field Details

    • connectionId

      public String connectionId
      The connection ID of the client subscribing to the stream.
    • subscriberId

      public String 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 videoPacketsLost
      The total number of video packets packets that did not reach the subscriber (or the OpenTok Media Router).
    • videoPacketsSent

      public long videoPacketsSent
      The total number of video packets sent sent to the subscriber (or to the OpenTok Media Router).
    • videoBytesSent

      public long videoBytesSent
      The total number of video bytes bytes sent to the subscriber (or to the OpenTok Media Router).
    • timeStamp

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

      public double startTime
      The timestamp, in milliseconds since the Unix epoch, from which the cumulative totals started accumulating.
    • videoLayers

      public List<PublisherKit.VideoLayerStats> videoLayers
      The array of video layer statistics for this publisher.
    • transport

      public TransportStats 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.