aravis
aravis copied to clipboard
Don't pull buffer in async ArvUvStream before there is available data
In libusb async mode, the reported number of underruns is systematically high.
This is because the async thread asks for buffers before actually receiving data, unlike the sync code.
May be it is possible to ask libusb if there are available data on the stream endpoint without asking for a transfer ? If so, we could pull a buffer only if there are data available.