Agora C++ API Reference for All Platforms
Public Member Functions | Public Attributes | List of all members
agora::rtc::RemoteAudioTrackStats Struct Reference

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
 
int mean_waiting_time
 
size_t expanded_speech_samples
 
size_t expanded_noise_samples
 
uint32_t timestamps_since_last_report
 
uint16_t min_sequence_number
 
uint16_t max_sequence_number
 
int32_t audio_level
 
uint32_t downlink_process_time_ms
 
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
 

Detailed Description

The statistics of a remote audio track.

Constructor & Destructor Documentation

◆ RemoteAudioTrackStats()

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

Member Data Documentation

◆ uid

uid_t agora::rtc::RemoteAudioTrackStats::uid

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

◆ quality

int agora::rtc::RemoteAudioTrackStats::quality

The audio quality of the remote audio track: QUALITY_TYPE.

◆ network_transport_delay

int agora::rtc::RemoteAudioTrackStats::network_transport_delay

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

◆ jitter_buffer_delay

uint32_t agora::rtc::RemoteAudioTrackStats::jitter_buffer_delay

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

◆ audio_loss_rate

int agora::rtc::RemoteAudioTrackStats::audio_loss_rate

The audio frame loss rate in the reported interval.

◆ num_channels

int agora::rtc::RemoteAudioTrackStats::num_channels

The number of audio channels.

◆ received_sample_rate

int agora::rtc::RemoteAudioTrackStats::received_sample_rate

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

◆ received_bitrate

int agora::rtc::RemoteAudioTrackStats::received_bitrate

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

◆ 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.

◆ 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.

◆ received_bytes

int64_t agora::rtc::RemoteAudioTrackStats::received_bytes

The number of audio bytes received.

◆ mean_waiting_time

int agora::rtc::RemoteAudioTrackStats::mean_waiting_time

The average packet waiting time (ms) in the jitter buffer.

◆ expanded_speech_samples

size_t agora::rtc::RemoteAudioTrackStats::expanded_speech_samples

The samples of expanded speech.

◆ expanded_noise_samples

size_t agora::rtc::RemoteAudioTrackStats::expanded_noise_samples

The samples of expanded noise.

◆ timestamps_since_last_report

uint32_t agora::rtc::RemoteAudioTrackStats::timestamps_since_last_report

The timestamps since last report.

◆ min_sequence_number

uint16_t agora::rtc::RemoteAudioTrackStats::min_sequence_number

The minimum sequence number.

◆ max_sequence_number

uint16_t agora::rtc::RemoteAudioTrackStats::max_sequence_number

The maximum sequence number.

◆ audio_level

int32_t agora::rtc::RemoteAudioTrackStats::audio_level

The audio energy.

◆ downlink_process_time_ms

uint32_t agora::rtc::RemoteAudioTrackStats::downlink_process_time_ms

audio downlink average process time

◆ frozen_count_80_ms

uint16_t agora::rtc::RemoteAudioTrackStats::frozen_count_80_ms

The count of 80 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

◆ frozen_count_200_ms

uint16_t agora::rtc::RemoteAudioTrackStats::frozen_count_200_ms

The count of 200 ms frozen in 2 seconds

◆ frozen_time_200_ms

uint16_t agora::rtc::RemoteAudioTrackStats::frozen_time_200_ms

The time of 200 ms frozen in 2 seconds

◆ delay_estimate_ms

uint32_t agora::rtc::RemoteAudioTrackStats::delay_estimate_ms

The estimate delay

◆ mos_value

uint32_t agora::rtc::RemoteAudioTrackStats::mos_value

The MOS value