UVCCamera
UVCCamera copied to clipboard
unplug usb interface manually without calling stopPreview
The procedure of my unplug the usb is as follows:
- unplug usb interface manually.
- after receiving the callback 'onDisconnect()' , I invoke mUVCCamera.close();
- The process will hang at uvc_stream_close() and uvc_stream_stop()
Is there a proper way to end the uvc stream when the usb interface is unplugged manually?
Thanks so much.
Is there any solution for this?