publiclab / infragram

A minimal core of the Infragram.org project in JavaScript
https://infragram.org/sandbox/
GNU General Public License v2.0
46 stars 166 forks source link

Can't select a webcam in Safari - need to upgrade getUserMedia library! #58

Open jywarren opened 5 years ago

jywarren commented 5 years ago

Could need to refactor which getUserMedia shim we're using!

https://github.com/addyosmani/getUserMedia.js/ is what it was built on, but can check package.json to see the current version we're using!

https://github.com/publiclab/infragram/blob/bbbe71d1c890702d8cb6a082c2e023c7752a6b55/package.json#L29

https://www.npmjs.com/package/getusermedia-js

jywarren commented 4 years ago

Also see this issue for related upgrades! https://github.com/publiclab/spectral-workbench.js/issues/87

Swarnlataaa commented 1 year ago

what should I do . the version mentioned in json needs to be updated in some other blog like file? Please guide me how can I contribute

jywarren commented 1 year ago

Sorry, I believe this is already complete as part of https://infragram.org/sandbox/v2/ -- can you check this on iOS?

https://infragram.org/sandbox/v2/ works on Safari for 1 frame, then freezes with:

WebGL: INVALID_VALUE: texImage2D: no video
texImage2D
updateImage — infragram.js:1279
getSnapshot — infragram.js:600
(anonymous function) — infragram.js:134
set — data.js:28