AgoraLastmileProbeConfig Class Reference

Inherits from NSObject
Declared in AgoraObjects.h

Overview

Last mile 网络探测配置

  probeUplink

是否探测上行网络带宽。有些用户不需要进行网络探测,如直播频道中的普通观众。

@property (assign, nonatomic) BOOL probeUplink

Discussion

  • NO:不探测
  • YES:探测

Declared In

AgoraObjects.h

  probeDownlink

是否探测下行网络带宽

@property (assign, nonatomic) BOOL probeDownlink

Discussion

  • NO:不探测
  • YES:探测

Declared In

AgoraObjects.h

  expectedUplinkBitrate

用户期望的最高发送码率

@property (assign, nonatomic) NSUInteger expectedUplinkBitrate

Discussion

单位为 bps,范围为 [100000,5000000]。声网推荐参考 setVideoEncoderConfiguration 中的码率值设置该参数的值。

Declared In

AgoraObjects.h

  expectedDownlinkBitrate

用户期望的最高接收码率

@property (assign, nonatomic) NSUInteger expectedDownlinkBitrate

Discussion

单位为 bps,范围为 [100000,5000000]。

Declared In

AgoraObjects.h