#include <publisher.h>

Data Fields
const char * subscriber_id
const char * connection_id
otc_transport_stats transport

Detailed Description

Publisher media link statistics.

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

Reported periodically via the on_media_link_stats callback in otc_publisher_callbacks.

Field Documentation

connection_id

const char* connection_id

The connection ID associated with this stats report.

subscriber_id

const char* subscriber_id

The subscriber ID associated with this stats report. Only relevant in relayed sessions where per-subscriber stats are reported.

transport

Local transport/network statistics for this publisher.