LastmileProbeConfig

Used to configure Last-mile network testing.

struct LastmileProbeConfig {
  bool probeUplink;
  bool probeDownlink;
  unsigned int expectedUplinkBitrate;
  unsigned int expectedDownlinkBitrate;
};

Properties

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