You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I call cameraSource.stop() onPause and onDestroy, the logcat prompts about skipping n frames and the application may be doing too much work on its main thread. I tried to put cameraSource.stop() in a separate thread, but still see the same message. Why is it happening?
The text was updated successfully, but these errors were encountered:
I believe that this is just a side effect of shutting down the camera preview. If you are interested in exploring the code more, there's a copy of this class open sourced here:
Thank you! When I call cameraSource.stop(), there should not be any issues with skipping frames because CameraSource.class takes care of stop() method. So I do not understand why it is happening.
When I call cameraSource.stop() onPause and onDestroy, the logcat prompts about skipping n frames and the application may be doing too much work on its main thread. I tried to put cameraSource.stop() in a separate thread, but still see the same message. Why is it happening?
The text was updated successfully, but these errors were encountered: