OTSubscriberKitAudioNetworkStats

Describes audio statistics for a subscriber. See [OTSubscriberKit setNetworkStatsDelegate:].

Properties

Name Type Description
audioPacketsLost uint64_t The estimated number of audio packets lost by this subscriber.
audioPacketsReceived uint64_t The number of audio packets received by this subscriber.
audioBytesReceived uint64_t The number of audio bytes received by this subscriber.
timestamp double The timestamp, in milliseconds since the Unix epoch, for when these stats were gathered.
senderStats OTSenderStats * Sender-side network estimation stats. This property is optional and may be nil if data is not available. Deprecated: Use subscriber media link stats (OTSubscriberKitMediaLinkStats) instead for complete network metrics including remote publisher transport and network degradation source information.

Methods

Name Description
initWithPacketsLost:packetsReceived:bytesReceived:timestamp:(packetsLost, packetsReceived, bytesReceived, timestamp) → {instancetype}
initWithPacketsLost:packetsReceived:bytesReceived:timestamp:senderStats:(packetsLost, packetsReceived, bytesReceived, timestamp, senderStats) → {instancetype}

initWithPacketsLost:packetsReceived:bytesReceived:timestamp:(packetsLost, packetsReceived, bytesReceived, timestamp) → {instancetype}

Parameters:
Name Type Description
packetsLost uint64_t
packetsReceived uint64_t
bytesReceived uint64_t
timestamp double
Returns:

initWithPacketsLost:packetsReceived:bytesReceived:timestamp:senderStats:(packetsLost, packetsReceived, bytesReceived, timestamp, senderStats) → {instancetype}

Parameters:
Name Type Description
packetsLost uint64_t
packetsReceived uint64_t
bytesReceived uint64_t
timestamp double
senderStats OTSenderStats *
Returns: