Suggestions

close search

Add Messaging, Voice, and Authentication to your apps with Vonage Communications APIs

Visit the Vonage API Developer Portal

otc_subscriber_video_stats Struct Reference

#include <subscriber.h>

Data Fields

uint64_t packets_lost
uint64_t packets_received
uint64_t bytes_received
double timestamp

Detailed Description

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.

Field Documentation

◆ bytes_received

uint64_t bytes_received

The total number of video bytes received by the subscriber.

◆ packets_lost

uint64_t packets_lost

The total number of video packets lost by the subscriber.

◆ packets_received

uint64_t packets_received

The total number of video bytes received by the subscriber.

◆ timestamp

double timestamp

The timestamp, in milliseconds since the Unix epoch, for when these stats were gathered.