javascriptsafarigetusermediamediadevicesenumerate-devices

navigator.mediaDevicesenumerateDevice() "audiooutput" not show in safari


I found a problem that navigator.mediaDevices.enumerateDevice() not show a audiooutput when I use Safari browser enter image description here but audioinput and videoinput still normally

In another case I use Chrome browser to see audiooutput but it can show audiooutput normally in log enter image description here

did anyone know why audiooutput can not show in Safari ?


Solution

  • Safari's getUserMedia() implementation is incomplete: it doesn't show output devices. Sad but true.