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

Updated Android camera access settings to fix bug where linphone is unable to display camera video if SDK is 21 but hardware does not support fully support camera2 #9

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

patrickmwatson
Copy link

Updated Android camera access settings to fix bug where linphone is unable to display camera video if SDK is 21 but hardware does not support fully support camera2

…nable to display camera video if SDK is 21 but hardware does not support fully support camera2
@@ -136,7 +136,7 @@ public static void setPreviewDisplaySurface(Object cam, Object surf) {
requestedW = t;
}

AndroidCamera[] cameras = AndroidCameraConfiguration.retrieveCameras();
AndroidCamera[] cameras = AndroidCameraConfiguration.retrieveCameras(false);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

true for default

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh nvm api 5 . I understand what you are doing.

@shareefalis
Copy link

Much better! +1

@kennethdick
Copy link

@ghismary @Viish Do you think a change including this scenario is possible soon?

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

Successfully merging this pull request may close these issues.

3 participants