PublisherKit.PublisherMediaLinkStats

public static class 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.

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.
transport TransportStats Transport-level statistics for the publisher's connection.

Methods

Name Description
PublisherMediaLinkStats(connectionId, subscriberId, transport) Creates a new instance of PublisherMediaLinkStats.

PublisherMediaLinkStats(connectionId, subscriberId, transport)

Creates a new instance of PublisherMediaLinkStats.

Parameters:
Name Type Description
connectionId String The connection ID.
subscriberId String The subscriber ID.
transport TransportStats The transport-level statistics.