Skip to content

Camera Preview Not Working #2

@austin-carnahan

Description

@austin-carnahan

The Camera preview doesn't appear and stays black after navigating to the Camera View. It will appear AFTER you've taken an initial set of photos.

This is happening because the preview view is trying to initialize before the camera session is actually up and running. There is not currently a good "source of truth" that can be passed from the camera controller to the camera view. This will likely continue to crop up and cause additional issues, but is working as of writing. I've tried several solutions and had no luck, as the preview view was the only thing affected and it's not required functionality -- I've left it as is.

When the preview does work, it also looks super choppy because the frame rate for video recordings is set super low.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions