Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minimum value for qualityTestDuration #29

Open
nthieu90 opened this issue Mar 9, 2017 · 0 comments
Open

Minimum value for qualityTestDuration #29

nthieu90 opened this issue Mar 9, 2017 · 0 comments

Comments

@nthieu90
Copy link

nthieu90 commented Mar 9, 2017

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.

 [_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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant