Agora Java API Reference for Android

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

Configurations of the last-mile network test. More...

`#include <AgoraBase.h>`

## 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

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

- `true`: Test the uplink network.
- `false`: Do not test the uplink network.

## ◆ probeDownlink

bool agora::rtc::LastmileProbeConfig::probeDownlink

Sets whether to test the downlink network:

- `true`: Test the downlink network.
- `false`: Do not test the downlink network.

## ◆ expectedUplinkBitrate

unsigned int agora::rtc::LastmileProbeConfig::expectedUplinkBitrate

The expected maximum uplink bitrate (bps) of the local user. The value range is [100000, 5000000]. Agora recommends referring to `setVideoEncoderConfiguration` to set the value.

## ◆ expectedDownlinkBitrate

unsigned int agora::rtc::LastmileProbeConfig::expectedDownlinkBitrate

The expected maximum downlink bitrate (bps) of the local user. The value range is [100000,5000000].