startSpeedTest abstract method

int startSpeedTest(
  1. TRTCSpeedTestParams params
)

Start network speed test (used before room entry)

Parameters:

  • params(TRTCSpeedTestParams):
    • Speed test options.

Note:

  1. The speed measurement process will incur a small amount of basic service fees.
  2. Please perform the network speed test before room entry, because if performed after room entry, the test will affect the normal audio/video transfer, and its result will be inaccurate due to interference in the room.
  3. Only one network speed test task is allowed to run at the same time.

Return Description:

  • Interface call result, <0: failure.

Implementation

int startSpeedTest(TRTCSpeedTestParams params);