Agora RTC Objective-C API Reference  Refactor
Data Fields
LastmileProbeConfig Struct Reference

Data Fields

bool probeUplink
 
bool probeDownlink
 
unsigned int expectedUplinkBitrate
 
unsigned int expectedDownlinkBitrate
 

Detailed Description

The definition of the LastmileProbeConfig struct.

Field Documentation

◆ probeUplink

bool probeUplink

Determines whether to test the uplink network. Some users, for example, the audience in a live broadcast channel, do not need such a test:

  • true: Test.
  • false: Do not test.

◆ probeDownlink

bool probeDownlink

Determines whether to test the downlink network:

  • true: Test.
  • false: Do not test.

◆ expectedUplinkBitrate

unsigned int expectedUplinkBitrate

The expected maximum sending bitrate (bps) of the local user. The value ranges between 100000 and 5000000. We recommend setting this parameter according to the bitrate value set by setVideoEncoderConfiguration.

◆ expectedDownlinkBitrate

unsigned int expectedDownlinkBitrate

The expected maximum receiving bitrate (bps) of the local user. The value ranges between 100000 and 5000000.