Agora C++ API Reference for All Platforms
agora::rtc::LastmileProbeConfig Struct Reference

#include <IAgoraRtcEngine.h>

Public Attributes

bool probeUplink
 
bool probeDownlink
 
unsigned int expectedUplinkBitrate
 
unsigned int expectedDownlinkBitrate
 

Detailed Description

Configurations of the last-mile network probe test.

Member Data Documentation

◆ probeUplink

bool agora::rtc::LastmileProbeConfig::probeUplink

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

  • true: test.
  • false: do not test.

◆ probeDownlink

bool agora::rtc::LastmileProbeConfig::probeDownlink

Sets whether to test the downlink network:

  • true: test.
  • false: do not test.

◆ expectedUplinkBitrate

unsigned int agora::rtc::LastmileProbeConfig::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 agora::rtc::LastmileProbeConfig::expectedDownlinkBitrate

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