|
Vonage Video API Linux SDK
|
#include <>
Data Fields | |
| uint64_t | packets_lost |
| uint64_t | packets_received |
| uint64_t | bytes_received |
| double | timestamp |
| int64_t | sender_connection_max_allocated_bitrate |
| int64_t | sender_connection_estimated_bandwidth |
| int32_t | width |
| int32_t | height |
| double | decoded_frame_rate |
| int64_t | bitrate |
| int64_t | total_bitrate |
| int64_t | pause_count |
| int64_t | total_pauses_duration |
| int64_t | freeze_count |
| int64_t | total_freezes_duration |
| const char * | codec |
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.
| int64_t bitrate |
Bitrate (bps)
| uint64_t bytes_received |
The total number of video bytes received by the subscriber.
| const char* codec |
Current codec for this subscriber
| double decoded_frame_rate |
Decoded frame rate (fps)
| int64_t freeze_count |
Number of times the subscriber’s video has frozen. A freeze is defined according to https://www.w3.org/TR/webrtc-stats/#dom-rtcinboundrtpstreamstats-freezecount
| int32_t height |
Decoded video frame height
| 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.
| int64_t pause_count |
Number of times the subscriber’s video playback has paused. Video is considered to be paused if time passed since last rendered frame exceeds 5 seconds.
| int64_t sender_connection_estimated_bandwidth |
The current bandwidth estimation for the sender connection. If no data is available, then -1 is returned. Currently, this feature only supports calls with more than two participants.
| int64_t sender_connection_max_allocated_bitrate |
The maximum bitrate that can be estimated for the sender connection. If no data is available, then -1 is returned. Currently, this feature only supports calls with more than two participants.
| double timestamp |
The timestamp, in milliseconds since the Unix epoch, for when these stats were gathered.
| int64_t total_bitrate |
Bitrate (bps), including RTP headers, padding and payload
| int64_t total_freezes_duration |
Cumulative duration (in milliseconds) of all video freezes.
| int64_t total_pauses_duration |
Cumulative duration (in milliseconds) of all video pauses.
| int32_t width |
Decoded video frame width