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

Wait for connack before doing anything else. #96

Open
wants to merge 1 commit into
base: develop-0.7.0
Choose a base branch
from

Conversation

samlaf
Copy link

@samlaf samlaf commented Feb 23, 2021

Many issues have been raised regarding video timeouts when using keyboard_and_video.py

I believe the issue comes from not calling wait_for_connection between connect and start_video

I never have issues with video_effect.py and wait_for_connection is the only explanation I could find. I haven't been having issues with keyboard_and_video ever since.

I find forcing the users to call wait_for_connection themselves to be very bug-prone (as we can see from this example), so I have opted to move it directly in connect. This should take care of these issues forever.

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

Successfully merging this pull request may close these issues.

2 participants