I am trying to assign the different output via setsinkID in windows 11 , but it is taking system default speaker only
Example: const aud = new Audio(“https://upload.wikimedia.org/wikipedia/en/d/dc/Strawberry_Fields_Forever_%28Beatles_song_-_sample%29.ogg”);
aud.setSinkId(sel.value);
aud.play();
below is fiddle snippet , please try it out in windows 11 in EGDE browser
[https://jsfiddle.net/Lhz0bg5e/
Audio should heard from selected speaker
yash bhaje is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.