RootEncoder icon indicating copy to clipboard operation
RootEncoder copied to clipboard

Sample app not working with USB Camera on Android 14

Open FahimHT opened this issue 1 year ago • 2 comments

Is the sample app tested to be working on Android 14 with USB camera as video source?

I'm asking this because I found Rotation->Video Source->CameraUVC to be working on Android 12, but it failed on Android 14. The preview section just gets stuck when CameraUVC is selected on Android 14.

From the source code CameraUvcSource.kt, I'm assuming Root Encoder uses the UVCAndroid project for USB camera support. But that project also didn't work on multiple Android 14 phones and USB cameras that I tested previously, reported this issue there #83.

FahimHT avatar Nov 19 '24 17:11 FahimHT

Hello,

I'm not sure about the reason but you only can try check with different resolutions, fps and frame types like this:

      cameraHelper?.previewSize = Size(
        DEFAULT_PREVIEW_FRAME_FORMAT,
        DEFAULT_PREVIEW_WIDTH,
        DEFAULT_PREVIEW_HEIGHT,
        DEFAULT_PREVIEW_FPS,
        ArrayList(DEFAULT_PREVIEW_FPS))

If the problem persist in all cases you only can wait a response of the library owner

pedroSG94 avatar Nov 20 '24 20:11 pedroSG94

Yeah no problem, I just wanted to know if that part of root encoder works on Android 14.

FahimHT avatar Nov 20 '24 22:11 FahimHT