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

CameraInput stalls for 10 seconds on the test run #4

Open
132ikl opened this issue Nov 14, 2019 · 0 comments
Open

CameraInput stalls for 10 seconds on the test run #4

132ikl opened this issue Nov 14, 2019 · 0 comments

Comments

@132ikl
Copy link
Member

132ikl commented Nov 14, 2019

In rare cases (currently only demonstrated through hardware issues) CameraInput will successfully create a VideoCapture object, however on the test run of the node the read() call will block until select times out (10 seconds, which is longer than the frontend XHR timeout). There should be a timeout for a more reasonable time, such as 1 second since a camera read should never take that long, and return the error properly.

@132ikl 132ikl changed the title CameraInput stalls forever on the test run CameraInput stalls for 10 seconds on the test run Nov 20, 2019
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