Open danimesq opened 6 years ago
@AnthyG
I guess the MediaDevices interface (from the Media Capture and Streams API) can only really work when zites are served via https (at least this applies to Chrome), which is, as far as I'm aware, not the case. Though using "localhost" in Chrome allows to use https-only features, so that might be a solution (I'm not sure if this works in other browsers).
You could just use a python-module to serve via http2 (which allows SSL/TSL connections or whatever (lol, I honestly don't know what exactly I'm talking about right now, but I've done this before.. so I believe it's correct)). Then you would only need a self-signed certificate or so, which could probably be generated as well.
I'm not even sure if this needs to be added to the ZeroFrame-API or not (though I guess it has to, because of the iFrame?).
PS.: I've not experimented with anything yet, because schools starting again tomorrow, and I don't have any much time, but what a zite should be able to do in the end is basically the code in this comment: https://github.com/AnthyG/ThunderWave/issues/111#issuecomment-413531460
@krixano
@HelloZeroNet @shortcutme
Reference: https://github.com/AnthyG/ThunderWave/issues/111.