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

enumerateDevices() still doesn't work

  • 2 réponses
  • 0 a ce problème
  • 86 vues
  • Dernière réponse par Jamie Taylor
  • Archivé

Despite being listed as supported on: https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/enumerateDevices

enumerateDevices() still only returns input devices. Running navigator.mediaDevices.enumerateDevices().then(devices => console.log(devices)); in the Firefox console only shows input devices while on Chrome it shows output devices.

I use a website that supports playing from multiple output devices so when receiving a phone call, your desktop speakers and your headset can ring at the same time. This works in Chrome but it doesn't in Firefox.

Despite being listed as supported on: https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/enumerateDevices enumerateDevices() still only returns input devices. Running navigator.mediaDevices.enumerateDevices().then(devices => console.log(devices)); in the Firefox console only shows input devices while on Chrome it shows output devices. I use a website that supports playing from multiple output devices so when receiving a phone call, your desktop speakers and your headset can ring at the same time. This works in Chrome but it doesn't in Firefox.
Captures d’écran jointes

Toutes les réponses (2)

Try to test it there -> https://jan-ivar.github.io/dummy/enumerate.html

Click Start both and then Enumerate devices.

I've enabled some extra output devices and reopened both browsers. I've gone to the link and pressed Start Both! and then Enumerate Devices! and I've posted the screenshots below. With Firefox I get the default device and Nvidia Broadcast but on Chrome I get everything.