AudioContext.setSinkId sets the ID of the audio device to use for output. This allows the AudioContext to route audio to a connected output device of user's choosing.
Currently there is no way to select an output audio device in Web Audio API whereby AudioElement can route audio to a device of user's choosing. Audio output is piped to the default system device. AudioContext.setSinkId() will allow a user to route audio to a chosen connected audio output device.