|
OpenTok C SDK
|
#include <subscriber.h>
Data Fields | |
| uint64_t | packets_lost |
| uint64_t | packets_received |
| uint64_t | bytes_received |
| double | timestamp |
This struct represents subscriber video stats, reported periodically by the otc_subscriber_callbacks.on_video_stats callback function.
Data passed into a callback function (other than subscriber and user_data) will be released after the callback is called. Make a copy of the data if you need to retain it.
| uint64_t bytes_received |
The total number of video bytes received by the subscriber.
| uint64_t packets_lost |
The total number of video packets lost by the subscriber.
| uint64_t packets_received |
The total number of video bytes received by the subscriber.
| double timestamp |
The timestamp, in milliseconds since the Unix epoch, for when these stats were gathered.
1.8.15