#include <subscriber.h>
Data Fields | |
uint64_t | packets_lost |
uint64_t | packets_received |
uint64_t | bytes_received |
float | audio_level |
double | timestamp |
This struct represents subscriber audio stats, reported periodically by the otc_subscriber_callbacks.on_audio_stats callback function.
float audio_level |
The audio level value, from 0 to 1.0.
uint64_t bytes_received |
The total number of audio bytes received by the subscriber.
uint64_t packets_lost |
The total number of audio packets lost by the subscriber.
uint64_t packets_received |
The total number of audio packets lost by the subscriber.
double timestamp |
The timestamp, in milliseconds since the Unix epoch, for when these stats were gathered.