Microphone usage on private page in local network
I have webpage (Home Assistant instance) on my local network on which I would like to use microphone (for Assistant functionality). Page is completely local, i.e. not vis… (続きを読む)
I have webpage (Home Assistant instance) on my local network on which I would like to use microphone (for Assistant functionality). Page is completely local, i.e. not visible from Internet. My issue is I can't force Firefox to allow microphone access on this page. I've tried messing with media.devices.insecure.enabled config, but it didn't help. Is there any way to add such page to some whitelist to allow microphone access? From what I gathered Chromium-based browser provides "--unsafely-treat-insecure-origin-as-secure=..." option but I didn't find anything similar for Firefox. I know I could expose my server to outside network and get SSL certificate (from Lets Encrypt) to make it work, but exposing server to Internet just to get local microphone access somehow doesn't feel like a more secure solution. I could probably also issue self-singed certificate but dealing with that also seems at least annoying.