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

Αναζήτηση στην υποστήριξη

Προσοχή στις απάτες! Δεν θα σας ζητήσουμε ποτέ να καλέσετε ή να στείλετε μήνυμα σε κάποιον αριθμό τηλεφώνου ή να μοιραστείτε προσωπικά δεδομένα. Αναφέρετε τυχόν ύποπτη δραστηριότητα μέσω της επιλογής «Αναφορά παραβίασης».

Μάθετε περισσότερα

Αυτό το νήμα αρχειοθετήθηκε. Κάντε νέα ερώτηση αν χρειάζεστε βοήθεια.

enumerateDevices() still doesn't work

  • 2 απαντήσεις
  • 0 έχουν αυτό το πρόβλημα
  • 86 προβολές
  • Τελευταία απάντηση από Jamie Taylor
  • Αρχειοθετήθηκε

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.
Συνημμένα στιγμιότυπα

Όλες οι απαντήσεις (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.