PublisherKit.PublisherAudioStats
Copy
public static class PublisherAudioStats
Enclosing class: PublisherKit
Defines audio statistics for a publisher.
Properties
| Name | Type | Description |
|---|---|---|
connectionId |
String | The connection ID of the client subscribing to the stream. |
subscriberId |
String | 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 |
long | The total number of audio packets that did not reach the subscriber (or the OpenTok Media Router). |
audioPacketsSent |
long | The total number of audio packets sent to the subscriber (or to the OpenTok Media Router). |
audioBytesSent |
long | The total number of audio bytes sent to the subscriber (or to the OpenTok Media Router). |
timeStamp |
double | The timestamp, in milliseconds since the Unix epoch, for when these stats were gathered. |
startTime |
double | The timestamp, in milliseconds since the Unix epoch, from which the cumulative totals started accumulating. |
transport |
TransportStats | Transport-level network statistics. |