Skip to content

Error when using webcam: failed to execute 'createObjectURL' on 'URL' #254

@leon196

Description

@leon196

I got an error when using the webcam.
It seems that createObjectURL() is deprecated:
sourcey/libsourcey#264

It worked when I changed the file atom\packages\veda\node_modules\vedajs\lib\camera-loader.js
from this.video.src = window.URL.createObjectURL(stream);
to this.video.srcObject = stream;

I don't really know how to fix this with a fork and a pull request, because it seems to be a nested package, so I'm opening an issue to acknowledge the 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