|
Agora Server Gateway SDK Java API 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 |
The LastmileProbeConfig class.
| io.agora.rtc.LastmileProbeConfig.LastmileProbeConfig | ( | ) |
| io.agora.rtc.LastmileProbeConfig.LastmileProbeConfig | ( | int | probeUplink, |
| int | probeDownlink, | ||
| int | expectedUplinkBitrate, | ||
| int | expectedDownlinkBitrate ) |
Constructor.
| 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:
|
| probeDownlink | Determines whether to test the downlink network:
|
| 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 | The expected maximum receiving bitrate (bps) of the local user. The value ranges between 100000 and 5000000. |
| int io.agora.rtc.LastmileProbeConfig.getExpectedDownlinkBitrate | ( | ) |
| int io.agora.rtc.LastmileProbeConfig.getExpectedUplinkBitrate | ( | ) |
| int io.agora.rtc.LastmileProbeConfig.getProbeDownlink | ( | ) |
| int io.agora.rtc.LastmileProbeConfig.getProbeUplink | ( | ) |
| void io.agora.rtc.LastmileProbeConfig.setExpectedDownlinkBitrate | ( | int | expectedDownlinkBitrate | ) |
| void io.agora.rtc.LastmileProbeConfig.setExpectedUplinkBitrate | ( | int | expectedUplinkBitrate | ) |
| void io.agora.rtc.LastmileProbeConfig.setProbeDownlink | ( | int | probeDownlink | ) |
| void io.agora.rtc.LastmileProbeConfig.setProbeUplink | ( | int | probeUplink | ) |
|
private |
|
private |
|
private |
|
private |