howler.js icon indicating copy to clipboard operation
howler.js copied to clipboard

Implement Speaker Device Selection (setSinkId)

Open mesutyigit opened this issue 3 years ago • 4 comments

https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/setSinkId

your API doesn't provide "setSinkId".

It would be great if you can change the speaker device programmatically.

navigator.mediaDevices.enumerateDevices() result may include multiple "audiooutput" device.

mesutyigit avatar Jan 05 '22 16:01 mesutyigit

I join. Howler is a cool audio library. I use it for mobile sound. I would like to use it for the desktop, but due to the fact that there is no support for setSinkId, I have to use something else

Nawarius avatar Jan 28 '22 06:01 Nawarius

@Nawarius , what did you end up using?

adamthewan avatar Feb 02 '23 05:02 adamthewan

@adamthewan, Nothing. The task of changing audio outputs fell off and I stopped these experiments

Nawarius avatar Feb 02 '23 11:02 Nawarius