Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The HTMLMediaElement.setSinkId()
method sets the ID of the audio device to use for output and returns a Promise
. This only works when the application is authorized to use the specified device.