stopTestPeerToPeerCallQuality()
stopTestPeerToPeerCallQuality()
The stopTestPeerToPeerCallQuality()
method allows you to interrupt the ongoing test initiated by testPeerToPeerCallQuality()
. This can be useful if you want to stop the test before it runs its full duration. Calling stopTestPeerToPeerCallQuality()
will interrupt the ongoing test and force an early return on the original testPeerToPeerCallQuality()
call. When data gathering has not yet started, the data
object will be empty and the result
will be "aborted"
. If data gathering has started, the results will contain a result and the data collected up until the point of interruption. Stopping the test will also result in the test-completed
event being sent.
Refer to the documentation of testPeerToPeerCallQuality()
for more details.
Example usage of stopTestPeerToPeerCallQuality()
:
Related methods and events
test-completed
testPeerToPeerCallQuality
testNetworkConnectivity
testWebsocketConnectivity
abortTestNetworkConnectivity
abortTestWebsocketConnectivity