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

Always auto turn to audio-only in testQuality when reaching ending of the testing, bring error of result #162

Open
vincecao opened this issue Aug 4, 2020 · 0 comments

Comments

@vincecao
Copy link

vincecao commented Aug 4, 2020

OS: MacOS, Windows, iPadOS, iOS
Facing Issue Browsers: Chrome[83.0.4103.116], Edge(chromium)[85.0.545.0], Safari in iPadOS[14.0]
Working Browsers: Safari[13.1.1] in MacOS, Safari in iOS[13.5.1]
Dependency: opentok-network-test-js, version "2.3.0"
Potential bug: testQuality can not stop correctly

Hi,

I am try to work around with both sample webpack application and the Readme code snippet. I found when the timeout or stop() is trigged in testQuality, there is always a chance(3/5 or more) that only turn phase from audio-video to audio-only in testQuality stats. And then raise an alert Invalid state transition: Event 'disconnect' not possible in state 'disconnected' in the console.

The sample bundled javascript also came with the same result by showing the strange waves after the timeout. Then raise same alert Invalid state transition: Event 'disconnect' not possible in state 'disconnected' in the console.

Due to this bug, the result of testing quality will bring as an error result for both audio and video.

Is any help can provide with testQuality()?

Thank you.

Screen Shot 2020-08-04 at 12 29 45 AM

Screen Shot 2020-08-04 at 12 34 05 AM

@vincecao vincecao changed the title When passing option with timeout, turn to audio-only in testQuality Always auto turn to audio-only in testQuality when reaching ending of the testing, bring error of result Aug 4, 2020
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