/AuRo

A Chrome Extension to pick an audio output device for HTML5 audio and video elements

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

AuRo

A Chrome Extension to pick an audio output device for HTML5 audio and video elements.

In 0.0.3 saving deviceId for a domain became possible.

How it works

The extension patches HTML5 audio and video .play() method and manipulates the sinkId in order to switch to the desired audio output device. It also does not and will never work with AudioContext cause setSinkId() is not implemented for it. To not overhead every page with script injection sometimes it requires to pause/play media on initialization.

Note that the API requires a successful call to getUserMedia() for every site with audio sinks that need to be manipulated.

Links

Chrome Store GitHub