Open wly65535 opened 6 years ago
Hello,
i have also tested Huawei Nova2, it has the same problem like honor 7x.
I asked Huawei support, but they don't know how to test their phones, which support UVC camera.
Does anyone has any idea how can I find out, which Android device support UVC+OTG?
Thanks a lot
Regards,
Pai
但是我按照这上面的修改,依然是这个错误,我的是展讯平台,老铁如果有收获机的通知一声
Firstly, Thanks @saki4510t 's so selfless dedication, And then we have such a useful library.
We use this library to run on more than 20 recent phones, All phones is ok except OPPO A79 and Huawei honor 7X.
libuvc/src/stream.c
, method:_uvc_process_payload_iso
, line:assert(strmh->got_bytes + odd_bytes < strmh->size_buf)
If find a end flag, We will process the data, Then setstrmh->got_bytes
to0
; But on Huawei honor 7X,strmh->got_bytes
will be larger and larger because there is no end flag, So it causeassert
failed.So many thanks for anyone give me some suggestion.