Class PublisherKit.PublisherMediaLinkStats

java.lang.Object
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 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.