Skip to content

NotReadableError: Could not start video source #83

Open
@Malnen

Description

@Malnen

On some Android devices im expiriencing NotReadableError: Cannot start video source
I am using this component in a dialog.

When I open the dialog, it calls the action.start() method. The first time everything is fine. After closing the dialog, before closing it, I call the action.stop() method to stop the camera. However, on some devices, after opening the dialog for the second time, the camera fails to start. It seems that the library does not close the previous stream properly from navigator.mediaDevices.getUserMedia(constraints).then((stream) => { ... })

Has anyone had a similar problem?

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