Class PublisherKit.PublisherAudioStats

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

public static class PublisherKit.PublisherAudioStats extends Object
Defines audio statistics for a publisher.
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    long
    The total number of audio bytes sent to the subscriber (or to the OpenTok Media Router).
    long
    The total number of audio packets that did not reach the subscriber (or the OpenTok Media Router).
    long
    The total number of audio packets sent to the subscriber (or to the OpenTok Media Router).
    The connection ID of the client subscribing to the stream.
    double
    The 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).
    double
    The timestamp, in milliseconds since the Unix epoch, for when these stats were gathered.
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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.
    • audioPacketsLost

      public long audioPacketsLost
      The total number of audio packets that did not reach the subscriber (or the OpenTok Media Router).
    • audioPacketsSent

      public long audioPacketsSent
      The total number of audio packets sent to the subscriber (or to the OpenTok Media Router).
    • audioBytesSent

      public long audioBytesSent
      The total number of audio 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.