AgoraRtcRemoteAudioStats 类

Inherits from NSObject
Declared in AgoraObjects.h

概览

远端音频统计信息

  uid

用户 ID,指定是哪个用户/主播的音频流

@property (assign, nonatomic) NSUInteger uid

Declared In

AgoraObjects.h

  quality

远端用户发送的音频流质量:

@property (assign, nonatomic) NSUInteger quality

详情

  • 0:质量未知
  • 1:质量极好
  • 2:用户主观感觉和极好差不多 ,但码率可能略低于极好
  • 3:用户主观感受有瑕疵,但不影响沟通
  • 4:勉强能沟通但不顺畅
  • 5:网络质量非常差,基本不能沟通
  • 6:网络连接已断开,完全无法沟通

Declared In

AgoraObjects.h

  networkTransportDelay

音频发送端到接收端的网络延迟(毫秒)

@property (assign, nonatomic) NSUInteger networkTransportDelay

Declared In

AgoraObjects.h

  jitterBufferDelay

接收端到网络抖动缓冲的网络延迟(毫秒)

@property (assign, nonatomic) NSUInteger jitterBufferDelay

Declared In

AgoraObjects.h

  audioLossRate

统计周期内的远端音频流的丢帧率(%)

@property (assign, nonatomic) NSUInteger audioLossRate

Declared In

AgoraObjects.h

  numChannels

声道数

@property (assign, nonatomic) NSUInteger numChannels

Declared In

AgoraObjects.h

  receivedSampleRate

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

@property (assign, nonatomic) NSUInteger receivedSampleRate

Declared In

AgoraObjects.h

  receivedBitrate

接收流在统计周期内的平均码率(Kbps)

@property (assign, nonatomic) NSUInteger receivedBitrate

Declared In

AgoraObjects.h

  totalFrozenTime

远端用户在加入频道后发生音频卡顿的累计时长(ms)

@property (assign, nonatomic) NSUInteger totalFrozenTime

Declared In

AgoraObjects.h

  frozenRate

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

@property (assign, nonatomic) NSUInteger frozenRate

Declared In

AgoraObjects.h