Can I select multiple audio output devices in javascript

543 views Asked by At

I am developing a webRTC app that includes two audio players, each of which should output their audio simultaneously to a distinct audio device.

The user would select, e.g., "Internal Speakers" as the output for one stream, and "External Headphones" as the output for the other stream.

I have experience using getUserMedia() with webRTC to select sources and outputs for a page: https://webrtc.github.io/samples/src/content/devices/input-output/

However, I can't find an (even experimental) way for a single web page to output separate streams to separate devices.

Is there a way to accomplish this? Thank you!

0

There are 0 answers