Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
leon196 opened this issue Nov 11, 2021 · 0 comments
Open

Comments

@leon196
Copy link

leon196 commented Nov 11, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant