com.opentok.android.PublisherKit.PublisherAudioStats
Enclosing class:
: PublisherKit
public static class PublisherKit.PublisherAudioStats extends Object
Defines audio statistics for a publisher.
See Also:
: - PublisherKit.setAudioStatsListener(AudioStatsListener listener)
Field Summary
Fields
Modifier and Type
Field
Description
long
audioBytesSent
The total number of audio bytes sent to the subscriber (or to the OpenTok Media Router).
long
audioPacketsLost
The total number of audio packets that did not reach the subscriber (or the OpenTok Media Router).
long
audioPacketsSent
The total number of audio packets sent to the subscriber (or to the OpenTok Media Router).
String
connectionId
The connection ID of the client subscribing to the stream.
double
startTime
The timestamp, in milliseconds since the Unix epoch, from which the cumulative totals started accumulating.
String
subscriberId
The subscriber ID of the client subscribing to the stream (in a relayed session).
double
timeStamp
The timestamp, in milliseconds since the Unix epoch, for when these stats were gathered.
TransportStats
transport
Transport-level network statistics.
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.
transport
public TransportStats transport
Transport-level network statistics.