Skip to content

Latest commit

 

History

History
15 lines (12 loc) · 815 Bytes

README.md

File metadata and controls

15 lines (12 loc) · 815 Bytes

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