Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

En savoir plus
Ouvert

Microphone usage on private page in local network

boski_cinek

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.

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.

Toutes les réponses (2)

You might need both media.getusermedia.insecure.enabled and media.devices.insecure.enabled first, however this won't be around too much longer apparently: bugzilla.mozilla.org/1842329

I've tried both, together with dom.security.https_only_mode set to false, but still without success.

Poser une question

Vous devez vous identifier avec votre compte pour répondre aux messages. Veuillez poser une nouvelle question, si vous n’avez pas encore de compte.