OpenTok C SDK
Loading...
Searching...
No Matches
otc_subscriber_media_link_stats Struct Reference

#include <subscriber.h>

Data Fields

otc_transport_stats transport
otc_transport_stats remote_publisher_transport
enum otc_network_degradation_source network_degradation_source

Detailed Description

This struct represents subscriber media link statistics, providing a unified view of the transport-level network conditions for a subscriber. Since audio and video share the same underlying transport, this struct consolidates the local transport, remote publisher transport, and network degradation source into a single object.

Reported periodically by the otc_subscriber_callbacks.on_media_link_stats callback function.

Field Documentation

◆ network_degradation_source

enum otc_network_degradation_source network_degradation_source

In case of network degradation, indicates which side caused it (local subscriber, remote publisher, or unknown).

◆ remote_publisher_transport

otc_transport_stats remote_publisher_transport

Remote publisher transport/network statistics.

◆ transport

Local transport/network statistics for this subscriber.


The documentation for this struct was generated from the following file: