UVCCamera icon indicating copy to clipboard operation
UVCCamera copied to clipboard

unplug usb interface manually without calling stopPreview

Open manphis opened this issue 6 years ago • 1 comments

The procedure of my unplug the usb is as follows:

  1. unplug usb interface manually.
  2. after receiving the callback 'onDisconnect()' , I invoke mUVCCamera.close();
  3. 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.

manphis avatar Jan 19 '19 03:01 manphis

Is there any solution for this?

xuannt88 avatar Jun 27 '23 03:06 xuannt88