java.lang.Object

com.opentok.android.SubscriberKit.SubscriberAudioStats

Enclosing class: : SubscriberKit


public static class SubscriberKit.SubscriberAudioStats extends Object

Defines audio statistics for a subscriber.

See Also: : - SubscriberKit.setAudioStatsListener(AudioStatsListener listener)

Field Summary

Fields

Modifier and Type

Field

Description

int

audioBytesReceived

The total number of audio bytes received by the subscriber.

int

audioPacketsLost

The total number of audio packets lost by the subscriber.

int

audioPacketsReceived

The total number of audio packets lost by the subscriber.

SubscriberKit.SenderStats

senderStats

Deprecated.

Use subscriber media link stats (SubscriberMediaLinkStats) instead for complete network metrics including remote publisher transport and network degradation source information.

double

timeStamp

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

audioPacketsLost

public int audioPacketsLost

The total number of audio packets lost by the subscriber.

audioPacketsReceived

public int audioPacketsReceived

The total number of audio packets lost by the subscriber.

audioBytesReceived

public int audioBytesReceived

The total number of audio bytes received by the subscriber.

timeStamp

public double timeStamp

The timestamp, in milliseconds since the Unix epoch, for when these stats were gathered.

senderStats

@Deprecated public SubscriberKit.SenderStats senderStats

Deprecated.

Use subscriber media link stats (SubscriberMediaLinkStats) instead for complete network metrics including remote publisher transport and network degradation source information.

Sender-side network estimation stats. This may be null if stats are not available. Due to network latency, sender statistics may not be immediately available after the initial stats request.