Agora Server Gateway SDK C++ API Reference
Public Member Functions | Public Attributes | List of all members
agora::rtc::RemoteAudioTrackStats Struct Reference

#include <NGIAgoraAudioTrack.h>

Public Member Functions

 RemoteAudioTrackStats ()
 

Public Attributes

uid_t uid
 
int quality
 
int network_transport_delay
 
uint32_t jitter_buffer_delay
 
int audio_loss_rate
 
int num_channels
 
int received_sample_rate
 
int received_bitrate
 
int total_frozen_time
 
int frozen_rate
 
int64_t received_bytes
 
NODOC uint16_t frozen_count_80_ms
 
uint16_t frozen_time_80_ms
 
uint16_t frozen_count_200_ms
 
uint16_t frozen_time_200_ms
 
uint32_t delay_estimate_ms
 
uint32_t mos_value
 
uint64_t total_active_time
 
uint64_t publish_duration
 
int qoe_quality
 
int32_t quality_changed_reason
 

Detailed Description

The statistics of a remote audio track.

Constructor & Destructor Documentation

◆ RemoteAudioTrackStats()

agora::rtc::RemoteAudioTrackStats::RemoteAudioTrackStats ( )
inline

Member Data Documentation

◆ audio_loss_rate

int agora::rtc::RemoteAudioTrackStats::audio_loss_rate

The audio frame loss rate in the reported interval.

◆ delay_estimate_ms

uint32_t agora::rtc::RemoteAudioTrackStats::delay_estimate_ms

The estimate delay

◆ frozen_count_200_ms

uint16_t agora::rtc::RemoteAudioTrackStats::frozen_count_200_ms

The count of 200 ms frozen in 2 seconds

◆ frozen_count_80_ms

NODOC uint16_t agora::rtc::RemoteAudioTrackStats::frozen_count_80_ms

The count of 80 ms frozen in 2 seconds

◆ frozen_rate

int agora::rtc::RemoteAudioTrackStats::frozen_rate

The total audio freeze time as a percentage (%) of the total time when the audio is available.

◆ frozen_time_200_ms

uint16_t agora::rtc::RemoteAudioTrackStats::frozen_time_200_ms

The time of 200 ms frozen in 2 seconds

◆ frozen_time_80_ms

uint16_t agora::rtc::RemoteAudioTrackStats::frozen_time_80_ms

The time of 80 ms frozen in 2 seconds

◆ jitter_buffer_delay

uint32_t agora::rtc::RemoteAudioTrackStats::jitter_buffer_delay

The delay (ms) from the receiver to the jitter buffer.

◆ mos_value

uint32_t agora::rtc::RemoteAudioTrackStats::mos_value

The MOS value

◆ network_transport_delay

int agora::rtc::RemoteAudioTrackStats::network_transport_delay

The network delay (ms) from the sender to the receiver.

◆ num_channels

int agora::rtc::RemoteAudioTrackStats::num_channels

The number of audio channels.

◆ publish_duration

uint64_t agora::rtc::RemoteAudioTrackStats::publish_duration

The total publish duration (ms) of the remote audio stream.

◆ qoe_quality

int agora::rtc::RemoteAudioTrackStats::qoe_quality

The Quality of Experience (QoE) of the local user when receiving a remote audio stream. See EXPERIENCE_QUALITY_TYPE.

◆ quality

int agora::rtc::RemoteAudioTrackStats::quality

The audio quality of the remote audio track: QUALITY_TYPE.

◆ quality_changed_reason

int32_t agora::rtc::RemoteAudioTrackStats::quality_changed_reason

The reason for the poor QoE of the local user when receiving a remote audio stream. See EXPERIENCE_POOR_REASON.

◆ received_bitrate

int agora::rtc::RemoteAudioTrackStats::received_bitrate

The average bitrate (Kbps) of the received audio track in the reported interval.

◆ received_bytes

int64_t agora::rtc::RemoteAudioTrackStats::received_bytes

The number of audio bytes received.

◆ received_sample_rate

int agora::rtc::RemoteAudioTrackStats::received_sample_rate

The sample rate (Hz) of the received audio track in the reported interval.

◆ total_active_time

uint64_t agora::rtc::RemoteAudioTrackStats::total_active_time

The total time (ms) when the remote user neither stops sending the audio stream nor disables the audio module after joining the channel.

◆ total_frozen_time

int agora::rtc::RemoteAudioTrackStats::total_frozen_time

The total freeze time (ms) of the remote audio track after the remote user joins the channel. In a session, audio freeze occurs when the audio frame loss rate reaches 4%. The total audio freeze time = The audio freeze number × 2 seconds.

◆ uid

uid_t agora::rtc::RemoteAudioTrackStats::uid

The user ID of the remote user who sends the audio track.


The documentation for this struct was generated from the following file: