com.opentok.android.PublisherKit.PublisherMediaLinkStats
Enclosing class:
: PublisherKit
public static class PublisherKit.PublisherMediaLinkStats extends Object
Provides publisher media link statistics including local transport metrics.
Since video and audio share the same underlying transport, this class consolidates the local transport statistics into a single object.
Field Summary
Fields
Modifier and Type
Field
Description
String
connectionId
The connection ID of the client subscribing to the stream.
String
subscriberId
The subscriber ID of the client subscribing to the stream (in a relayed session).
TransportStats
transport
Transport-level statistics for the publisher's connection.
Constructor Summary
Constructors
Constructor
Description
PublisherMediaLinkStats(String connectionId, String subscriberId, TransportStats transport)
Creates a new instance of PublisherMediaLinkStats.
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.
transport
public TransportStats transport
Transport-level statistics for the publisher's connection.
Constructor Details
PublisherMediaLinkStats
public PublisherMediaLinkStats(String connectionId, String subscriberId, TransportStats transport)
Creates a new instance of PublisherMediaLinkStats.
Parameters:
: connectionId - The connection ID.
: subscriberId - The subscriber ID.
: transport - The transport-level statistics.