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

Video recording problem with a solid green screen when using front camera on some specific devices #44

Open
doscode-kr opened this issue Feb 11, 2020 · 2 comments

Comments

@doscode-kr
Copy link

doscode-kr commented Feb 11, 2020

Hi, Infinium team.
Thank you for opening a really good camera wrapper. But I have faced a problem which really hard to solve.

I'm using the front camera for recording a video and most devices work fine.
But some devices show the issue.

and here is the photo
green_screen

I figured out that Samsung Galaxy Note 5 and Samsung Galaxy S6 Edge+ have this issue.

I had tried to debug with devices, but the android studio says everything works fine. The problem was there, but no errors were there.

Do you have any ideas about this?
(rear camera does not make this issue)

Thanks 👍

I attach the related codes below:

    private fun setupCamera() {
        if (CameraPermissionHelper.hasCameraPermission(this)) {
            goldenEye = GoldenEye.Builder(this)
                .setCameraApi(CameraApi.CAMERA2)
                .setLogger(onMessage = { s: String -> Timber.d(s) }, onThrowable = { Timber.e(it) })
                .build()


            viewModel.goldenEye = goldenEye
        } else {

            CameraPermissionHelper.requestCameraPermission(this)
        }
    }
@domagojkorman
Copy link
Contributor

Hi, does the issue happen even when you force the use of Camera1 API?

https://github.com/infinum/Android-GoldenEye#manually-set-camera-api

@doscode-kr
Copy link
Author

Thanks for your comment,
It happened with Camera2 API ^^;

Hi, does the issue happen even when you force the use of Camera1 API?

https://github.com/infinum/Android-GoldenEye#manually-set-camera-api

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