OTPublisherKitAudioNetworkStats Class Reference

Inherits from NSObject
Declared in OTNetworkStatsKit.h

Overview

Describes audio statistics for a publisher. See [OTPublisherKit setNetworkStatsDelegate:].

  connectionId

The connection ID of the subscribing client.

@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

  audioPacketsLost

The estimated number of audio packets that did not reach the subscriber (or the OpenTok Media Router).

@property (readonly) int64_t audioPacketsLost

Declared In

OTNetworkStatsKit.h

  audioPacketsSent

The number of audio packets sent to the subscriber (or to the OpenTok Media Router).

@property (readonly) int64_t audioPacketsSent

Declared In

OTNetworkStatsKit.h

  audioBytesSent

The number of audio bytes sent to the subscriber (or to the OpenTok Media Router)

@property (readonly) int64_t audioBytesSent

Declared In

OTNetworkStatsKit.h

  timestamp

The timestamp, in milliseconds since the Unix epoch, for when these stats were gathered.

@property (readonly) double timestamp

Declared In

OTNetworkStatsKit.h

  startTime

The timestamp, in milliseconds since the Unix epoch, from which the cumulative totals started accumulating.

@property (readonly) double startTime

Declared In

OTNetworkStatsKit.h