-
Notifications
You must be signed in to change notification settings - Fork 3
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
Camera stop working after several seconds #8
Comments
Hi, I'm not experiencing this issue at the moment, what device are you using? Some devices may just not be supported. Would you try running this and see?https://github.com/jiangdongguo/AndroidUSBCamera?tab=readme-ov-file#demo |
@chenyeju295 Hello I have the same error "DId not find frame", the app detect that camara is conected but no image shown in the app, can you can generate apk for flutter? I want to discard that my code is not compiling wrongly. |
Try this, it should be a device issue .https://github.com/jiangdongguo/AndroidUSBCamera/blob/master/app/release/app-release.apk |
I have tried two different cameras, one works and the other tells me that "campera opned error: unsupported preview size". |
Hello! I've updated the code to view device information,supported preview sizes, you can try it and see if it's a camera device issue. |
Thank you for your earnest help, I tried the demo app from AUSBC earlier and it bugs as the same. So I'm searching for other devices. I'll run your code later and give you feedback as soon as possible. Thank you again! A fun situation is, after limiting the constant |
You're welcome |
Hello!, Thanks for the update, a basic web cam works well for me, but for the camera I have "inskam315w", it doesn't work, it tells me "get camera preview size failed" |
Expected Behavior
Continuously transfering frame and logging
Actual Behavior
After several seconds, FPS starts falling until reach 1, and the camera stop working.
Here is the logging
Steps to Reproduce the Problem
As same as the guide tells.
The text was updated successfully, but these errors were encountered: