veda icon indicating copy to clipboard operation
veda copied to clipboard

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

Open leon196 opened this issue 3 years ago • 0 comments

I got an error when using the webcam. It seems that createObjectURL() is deprecated: https://github.com/sourcey/libsourcey/issues/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.

leon196 avatar Nov 11 '21 17:11 leon196