App reconnection error issue in dual UVC example.
Posted: Fri Oct 31, 2025 3:08 am
I'm testing a usb_dual_uvc_device example.
When I first connect the device to my PC and launch the camera app, it works fine.
However, when I close the app and re-launch it, the video doesn't display.
I thought it might be because the video isn't playing, so I modified the code to output only the image, but the same thing happens.
I debugged, and the tud_video_n_frame_xfer() function returns false on the next run.
Is there a way to fix this?
When I first connect the device to my PC and launch the camera app, it works fine.
However, when I close the app and re-launch it, the video doesn't display.
I thought it might be because the video isn't playing, so I modified the code to output only the image, but the same thing happens.
I debugged, and the tud_video_n_frame_xfer() function returns false on the next run.
Is there a way to fix this?