|
Vonage Video API Linux SDK
|
#include <>
Data Fields | |
| const char * | connection_id |
| const char * | subscriber_id |
| int64_t | packets_lost |
| int64_t | packets_sent |
| int64_t | bytes_sent |
| double | timestamp |
| double | start_time |
| size_t | number_of_video_layers |
| struct otc_publisher_video_layer_stats | video_layers [3] |
| otc_transport_stats | transport |
Publisher video stats.
This structure represents the publisher video stats. The otc_publisher_callbacks struct includes a function pointer to an on_video_stats function, which is called periodically to report video stats.
| int64_t bytes_sent |
The total number of video bytes bytes sent to the subscriber (or to the OpenTok Media Router).
| const char* connection_id |
The connection ID of the client subscribing to the stream.
| size_t number_of_video_layers |
Number of video layers
| int64_t packets_lost |
The total number of video packets packets that did not reach the subscriber (or the OpenTok Media Router).
| int64_t packets_sent |
The total number of video packets sent sent to the subscriber (or to the OpenTok Media Router).
| double start_time |
The timestamp, in milliseconds since the Unix epoch, from which the cumulative totals started accumulating.
| const char* subscriber_id |
The subscriber ID of the client subscribing to the stream (in a relayed session).
| double timestamp |
The timestamp, in milliseconds since the Unix epoch, for when these stats were gathered.
| otc_transport_stats transport |
Transport statistics for this publisher
| struct otc_publisher_video_layer_stats video_layers[3] |
Array of video layers statistics