startSpeedTest abstract method
- TRTCSpeedTestParams params
Start network speed test (used before room entry)
Parameters:
- params(TRTCSpeedTestParams):
- Speed test options.
Note:
- The speed measurement process will incur a small amount of basic service fees.
- 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.
- 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);