Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sample app not working with USB Camera on Android 14 #1644

Open
FahimHT opened this issue Nov 19, 2024 · 2 comments
Open

Sample app not working with USB Camera on Android 14 #1644

FahimHT opened this issue Nov 19, 2024 · 2 comments

Comments

@FahimHT
Copy link

FahimHT commented Nov 19, 2024

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.

@pedroSG94
Copy link
Owner

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

@FahimHT
Copy link
Author

FahimHT commented Nov 20, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants