Package com.opentok.android
Class PublisherKit.PublisherMediaLinkStats
java.lang.Object
com.opentok.android.PublisherKit.PublisherMediaLinkStats
- Enclosing class:
PublisherKit
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
FieldsModifier and TypeFieldDescriptionThe connection ID of the client subscribing to the stream.The subscriber ID of the client subscribing to the stream (in a relayed session).Transport-level statistics for the publisher's connection. -
Constructor Summary
ConstructorsConstructorDescriptionPublisherMediaLinkStats(String connectionId, String subscriberId, TransportStats transport) Creates a new instance of PublisherMediaLinkStats. -
Method Summary
-
Field Details
-
connectionId
The connection ID of the client subscribing to the stream. -
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
Transport-level statistics for the publisher's connection.
-
-
Constructor Details
-
PublisherMediaLinkStats
Creates a new instance of PublisherMediaLinkStats.- Parameters:
connectionId- The connection ID.subscriberId- The subscriber ID.transport- The transport-level statistics.
-