Agora Server Gateway SDK Java API Reference
Loading...
Searching...
No Matches
io.agora.rtc.LastmileProbeConfig Class Reference

Public Member Functions

 LastmileProbeConfig ()
 
 LastmileProbeConfig (int probeUplink, int probeDownlink, int expectedUplinkBitrate, int expectedDownlinkBitrate)
 
int getProbeUplink ()
 
void setProbeUplink (int probeUplink)
 
int getProbeDownlink ()
 
void setProbeDownlink (int probeDownlink)
 
int getExpectedUplinkBitrate ()
 
void setExpectedUplinkBitrate (int expectedUplinkBitrate)
 
int getExpectedDownlinkBitrate ()
 
void setExpectedDownlinkBitrate (int expectedDownlinkBitrate)
 

Private Attributes

int probeUplink
 
int probeDownlink
 
int expectedUplinkBitrate
 
int expectedDownlinkBitrate
 

Detailed Description

The LastmileProbeConfig class.

Constructor & Destructor Documentation

◆ LastmileProbeConfig() [1/2]

io.agora.rtc.LastmileProbeConfig.LastmileProbeConfig ( )

◆ LastmileProbeConfig() [2/2]

io.agora.rtc.LastmileProbeConfig.LastmileProbeConfig ( int probeUplink,
int probeDownlink,
int expectedUplinkBitrate,
int expectedDownlinkBitrate )

Constructor.

Parameters
probeUplinkDetermines whether to test the uplink network. Some users, for example, the audience in a live broadcast channel, do not need such a test:
  • 0: Test.
  • 1: Do not test.
probeDownlinkDetermines whether to test the downlink network:
  • 0: Test.
  • 1: Do not test.
expectedUplinkBitrateThe 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.
expectedDownlinkBitrateThe expected maximum receiving bitrate (bps) of the local user. The value ranges between 100000 and 5000000.

Member Function Documentation

◆ getExpectedDownlinkBitrate()

int io.agora.rtc.LastmileProbeConfig.getExpectedDownlinkBitrate ( )

◆ getExpectedUplinkBitrate()

int io.agora.rtc.LastmileProbeConfig.getExpectedUplinkBitrate ( )

◆ getProbeDownlink()

int io.agora.rtc.LastmileProbeConfig.getProbeDownlink ( )

◆ getProbeUplink()

int io.agora.rtc.LastmileProbeConfig.getProbeUplink ( )

◆ setExpectedDownlinkBitrate()

void io.agora.rtc.LastmileProbeConfig.setExpectedDownlinkBitrate ( int expectedDownlinkBitrate)

◆ setExpectedUplinkBitrate()

void io.agora.rtc.LastmileProbeConfig.setExpectedUplinkBitrate ( int expectedUplinkBitrate)

◆ setProbeDownlink()

void io.agora.rtc.LastmileProbeConfig.setProbeDownlink ( int probeDownlink)

◆ setProbeUplink()

void io.agora.rtc.LastmileProbeConfig.setProbeUplink ( int probeUplink)

Member Data Documentation

◆ expectedDownlinkBitrate

int io.agora.rtc.LastmileProbeConfig.expectedDownlinkBitrate
private

◆ expectedUplinkBitrate

int io.agora.rtc.LastmileProbeConfig.expectedUplinkBitrate
private

◆ probeDownlink

int io.agora.rtc.LastmileProbeConfig.probeDownlink
private

◆ probeUplink

int io.agora.rtc.LastmileProbeConfig.probeUplink
private

The documentation for this class was generated from the following file: