Why getUserMedia Cant Select Audio Output and How to Fix It
Summary Web Audio API developers often think navigator.mediaDevices.getUserMedia({ audio: { deviceId } }) gives a playback stream for a selected output device. In reality the API always returns an input (microphone) stream, because getUserMedia is defined for capture devices only. Trying to route audio through a MediaStreamDestinationNode built from that stream leads to silent output … Read more