Agora C++ API Reference for All Platforms

Public Attributes | List of all members
agora::rtc::LastmileProbeConfig Struct Reference

## Public Attributes
bool | probeUplink
bool | probeDownlink
unsigned int | expectedUplinkBitrate
unsigned int | expectedDownlinkBitrate

## Detailed Description

Configurations of the last-mile network test.

## Member Data Documentation

## ◆ probeUplink

bool agora::rtc::LastmileProbeConfig::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 agora::rtc::LastmileProbeConfig::probeDownlink

Determines 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 range is [100000, 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 range is [100000,5000000].