agora::rtc::RemoteAudioTrackStats结构体 参考

  • C++

更新时间不可用

详细描述

远端音频轨道统计信息。

构造及析构函数说明

RemoteAudioTrackStats()

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

类成员变量说明

uid

uid_t agora::rtc::RemoteAudioTrackStats::uid

远端发送音频轨道的用户 ID。

quality

int agora::rtc::RemoteAudioTrackStats::quality

远端音频轨道的音频质量。

network_transport_delay

int agora::rtc::RemoteAudioTrackStats::network_transport_delay

音频从发送端传输接收端的网络延迟(毫秒)。

jitter_buffer_delay

uint32_t agora::rtc::RemoteAudioTrackStats::jitter_buffer_delay

音频接收模块到网络抖动缓冲的网络延迟(毫秒)。

audio_loss_rate

int agora::rtc::RemoteAudioTrackStats::audio_loss_rate

在统计周期内的音频掉帧率。

num_channels

int agora::rtc::RemoteAudioTrackStats::num_channels

音频声道数。

received_sample_rate

int agora::rtc::RemoteAudioTrackStats::received_sample_rate

统计周期内接收到的远端音频流的采样率(Hz)。

received_bitrate

int agora::rtc::RemoteAudioTrackStats::received_bitrate

接收到音频轨道在统计周期的平均码率(Kbps)。

total_frozen_time

int agora::rtc::RemoteAudioTrackStats::total_frozen_time

远端用户在加入频道后发生音频卡顿的累计时长(毫秒)。通话过程中,音频丢帧率达到 4% 即记为一次音频卡顿。

frozen_rate

int agora::rtc::RemoteAudioTrackStats::frozen_rate

音频卡顿的累计时长占音频总有效时长的百分比 (%)。音频有效时长是指远端用户加入频道后音频未被停止发送或禁用的时长。

received_bytes

int64_t agora::rtc::RemoteAudioTrackStats::received_bytes

收到的音频数据大小(字节)。

frozen_count_80_ms

uint16_t agora::rtc::RemoteAudioTrackStats::frozen_count_80_ms

2 秒内 80 毫秒卡顿次数。

frozen_time_80_ms

uint16_t agora::rtc::RemoteAudioTrackStats::frozen_time_80_ms

2 秒内 80 毫秒卡顿时长。

frozen_count_200_ms

uint16_t agora::rtc::RemoteAudioTrackStats::frozen_count_200_ms

2 秒内 200 毫秒卡顿次数。

frozen_time_200_ms

uint16_t agora::rtc::RemoteAudioTrackStats::frozen_time_200_ms

2 秒内 200 毫秒卡顿时长。

delay_estimate_ms

uint32_t agora::rtc::RemoteAudioTrackStats::delay_estimate_ms

预测的延时时长(毫秒)。

mos_value

uint32_t agora::rtc::RemoteAudioTrackStats::mos_value

统计周期内,声网实时音频 MOS(平均主观意见分)评估方法对接收到的远端音频流的质量评分。返回值范围为 [0,500]。 返回值除以 100 即可得到 MOS 分数,范围为 [0,5] 分,分数越高,音频质量越好。

total_active_time

uint64_t agora::rtc::RemoteAudioTrackStats::total_active_time

远端用户在音频通话开始到本次回调之间的有效时长(毫秒)。有效时长是指去除了远端用户进入静音状态的总时长。

publish_duration

uint64_t agora::rtc::RemoteAudioTrackStats::publish_duration

远端音频流的累计发布时长(毫秒)。

qoe_quality

int agora::rtc::RemoteAudioTrackStats::qoe_quality

接收远端音频时,本地用户的主观体验质量,详见 EXPERIENCE_QUALITY_TYPE。

quality_changed_reason

int32_t agora::rtc::RemoteAudioTrackStats::quality_changed_reason

接收远端音频时,本地用户主观体验质量较差的原因,详见 EXPERIENCE_POOR_REASON。

这个页面有帮助吗?