To allow use of getUserMedia and other functions which require secure origins in Chrome the following workaround is available.

  1. In Chrome go to chrome://flags/#unsafely-treat-insecure-origin-as-secure
  2. Search for the Insecure origins treated as secure setting
  3. Add the insecure source, e.g. http://192.168.188.28
  4. Enable it.
  5. Click [Relaunch] button.

References

  • https://stackoverflow.com/a/58090783
  • https://medium.com/@Carmichaelize/enabling-the-microphone-camera-in-chrome-for-local-unsecure-origins-9c90c3149339