Open nthieu90 opened 7 years ago
Hello, In sample, the qualityTestDuration =10. is it the minimum time? if not, how do we know the minimun qualityTestDuration to make sure network stable and check quality.
qualityTestDuration =10
qualityTestDuration
[_networkTest runConnectivityTestWithApiKey:kApiKey sessionId:kSessionId token:kToken executeQualityTest:YES qualityTestDuration:10 delegate:self];
dispatch_time_t delay = dispatch_time(DISPATCH_TIME_NOW, _qualityTestDuration * NSEC_PER_SEC); dispatch_after(delay,dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT,0),^{ [self checkQualityAndDisconnectSession]; });
Thansk!
Hello, In sample, the
qualityTestDuration =10
. is it the minimum time? if not, how do we know the minimunqualityTestDuration
to make sure network stable and check quality.Thansk!