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

Avatar for Username

Шукати в статтях підтримки

Остерігайтеся нападів зловмисників. Mozilla ніколи не просить вас зателефонувати, надіслати номер телефону у повідомленні або поділитися з кимось особистими даними. Будь ласка, повідомте про підозрілі дії за допомогою меню “Повідомити про зловживання”

Докладніше
Відкрито

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.

Усі відповіді (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.

Запитати

Щоб відповідати на повідомлення, ви повинні ввійти у свій обліковий запис. Поставте нове питання, якщо ви ще не маєте облікового запису.