LastmileProbeConfig

Used to configure the last-mile network test.

public class LastmileProbeConfig {
  public boolean probeUplink;
  public boolean probeDownlink;
  public int expectedUplinkBitrate;
  public int expectedDownlinkBitrate;
}

Properties

probeUplink
Whether to test the uplink network.
  • true: Test the uplink network.
  • false: Do not test the uplink network. For example, in the LIVE_BROADCASTING channel profile, audience members typically do not need to test the uplink network.
probeDownlink
Whether to test the downlink network.
  • true: Test the downlink network.
  • false: Do not test the downlink network.
expectedUplinkBitrate
The maximum expected uplink bitrate (bps) for the local user. The range is [100000, 5000000]. It is recommended to refer to setVideoEncoderConfiguration when setting this value.
expectedDownlinkBitrate
The maximum expected downlink bitrate (bps) for the local user. The range is [100000, 5000000].