#include <>
This struct represents subscriber audio stats, reported periodically by the otc_subscriber_callbacks.on_audio_stats callback function.
◆ audio_level
The audio level value, from 0 to 1.0.
◆ bytes_received
The total number of audio bytes received by the subscriber.
◆ packets_lost
The total number of audio packets lost by the subscriber.
◆ packets_received
| uint64_t packets_received |
The total number of packets received by the subscriber.
◆ sender_connection_estimated_bandwidth
| int64_t sender_connection_estimated_bandwidth |
- Deprecated:
- Use otc_subscriber_media_link_stats instead, which provides complete network metrics including visibility into the remote publisher's transport performance. The current bandwidth estimation for the sender connection, in bps (bits per second). If no data is available, then -1 is returned. Currently, this feature only supports calls with more than two participants.
◆ sender_connection_max_allocated_bitrate
| int64_t sender_connection_max_allocated_bitrate |
- Deprecated:
- Use otc_subscriber_media_link_stats instead, which provides complete network metrics including visibility into the remote publisher's transport performance. The maximum bitrate that can be estimated for the sender connection, in bps (bits per second). If no data is available, then -1 is returned. Currently, this feature only supports calls with more than two participants.
◆ timestamp
The timestamp, in milliseconds since the Unix epoch, for when these stats were gathered.
The documentation for this struct was generated from the following file:
- src/otkit/include/opentok/