Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

enumerateDevices() still doesn't work

  • 2 replies
  • 0 have this problem
  • 16 views
  • Paskiausią atsakymą parašė Jamie Taylor

more options

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.
Pridėtos ekrano nuotraukos

All Replies (2)

more options

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

Click Start both and then Enumerate devices.

Helpful?

more options

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.

Helpful?

Užduoti klausimą

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.