ish- / AuRo

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

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

License:GNU General Public License v3.0


Languages

Language:JavaScript 81.5%Language:HTML 18.5%