saki4510t / UVCCamera

library and sample to access to UVC web camera on non-rooted Android device
2.96k stars 1.19k forks source link

Please Help. Reconnecting after destruction does not start the stream. #600

Open okfunrun opened 3 years ago

okfunrun commented 3 years ago

When I use the UVCCameraHandler.open method followed by the startPreview method, the preview appears. However, when I do UVCCameraHandler.close and then open and startPreview again, the preview does not start.

UVCPreview.cpp waitPreviewFrame waits for the frame to come.

Can you please tell me how to solve this problem?