Circumventing https requirements in Chrome
To allow use of getUserMedia
and other functions which require secure origins in Chrome
the following workaround is available.
- In Chrome go to chrome://flags/#unsafely-treat-insecure-origin-as-secure
- Search for the
Insecure origins treated as secure
setting - Add the insecure source, e.g.
http://192.168.188.28
- Enable it.
- Click [Relaunch] button.
References
- https://stackoverflow.com/a/58090783
- https://medium.com/@Carmichaelize/enabling-the-microphone-camera-in-chrome-for-local-unsecure-origins-9c90c3149339