Skip to content

focus always "fixed" #20

@ToysoftInc

Description

@ToysoftInc

Another question. This might fix the issue I'm having with the preview quality.
When I goto the Setting screen the focus option is only "fixed".

this is the builder

    val cameraBuilder = CameraBuilder(activity)
        .useDefaultConfig()
        .setFacing(Camera.CameraInfo.CAMERA_FACING_BACK)
        .setPreviewSize(Size(1140, 2560))
        .setRecordingHint(true)
        .setFocusMode(Camera.Parameters.FOCUS_MODE_AUTO, Camera.Parameters.FOCUS_MODE_CONTINUOUS_VIDEO, Camera.Parameters.FOCUS_MODE_MACRO)

I even tried in code

            mCameraController?.setFocusMode(Camera.Parameters.FOCUS_MODE_AUTO)

and still does not work.

I'm using Samsung S10 android os13 and I know it has auto focus.
supported=[fixed]

on Samsung S23+ it does report
supported=[infinity, auto, macro, continuous-video, continuous-picture]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions