Skip to content
This repository was archived by the owner on Jan 2, 2021. It is now read-only.
This repository was archived by the owner on Jan 2, 2021. It is now read-only.

DOMException on page reload #108

Open
@luke-z

Description

@luke-z

Hi there

I've been experimenting with your app and found an issue.

On reloading the page with my notebook, it returned an exception (DOMException: Could not start video source).

After trying a few things, I figured out the problem.
On my notebook, it tried to access the IR camera and thus somehow couldn't free it up afterwards.

I solved it by adding
&& !device.label.includes('IR')
to the if statement mentioned below.

Maybe there's another way to solve it.

Best regards
Luke

if (device.kind == 'videoinput') {

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions