Open heaveninfosoft opened 4 years ago
Same problem here . But Changing to YUYV frame format its solved . But cant Capture Pics With it
@idr-pt what need changes code can you show me?
in Oncreate add code like this
```
mCameraHelper?.setDefaultFrameFormat(UVCCameraHelper.FRAME_FORMAT_YUYV) mCameraHelper?.initUSBMonitor(this, mUVCCameraView, listener) mCameraHelper?.updateResolution(1024, 768)
but then we cant get previewListernerFrame right???
i think we can . but cant capture photo
I had the same problem . Have you solved the problem?
but mCameraHelper?.setDefaultFrameFormat(UVCCameraHelper.FRAME_FORMAT_YUYV) is No video preview at android 10 ,mCameraHelper?.setDefaultFrameFormat(UVCCameraHelper.FRAME_FORMAT_MJPEG) can has video preview at android 10
1080p high resolution work some time then gray some part in screen
https://drive.google.com/file/d/1TVjQUHuTqXqg9iIAnmvXtwFsvvqTgoKU/view?usp=sharing