# OTPublisherKitMediaLinkStats Class Reference

Inherits from | NSObject
Declared in | OTNetworkStatsKit.h

## Overview

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.

### `connectionId`

The connection ID of the client subscribing to the stream.

`@property (nonnull, readonly) NSString *connectionId`

#### Declared In

`OTNetworkStatsKit.h`

### `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.

`@property (nonnull, readonly) NSString *subscriberId`

#### Declared In

`OTNetworkStatsKit.h`

### `transport`

Transport-level statistics for the publisher’s connection.

`@property (readonly, nonnull) OTTransportStats *transport`

#### Declared In

`OTNetworkStatsKit.h`