[whatwg] Media sink device selection on <audio>/<video>
fischman at chromium.org
Mon Jan 13 14:51:03 PST 2014
On Sun, Jan 12, 2014 at 8:47 PM, Philip Jägenstedt <philipj at opera.com>wrote:
> Do you mean to make this per-origin as well? (It will require storing
> that information per-origin forever, or until some invisible timeout.)
> That seems about as restrictive as one could make it, but is the API
> going to actually be useful in this state?
Sure, why not?
Canonical use-case: webrtc-using video-chat webapp allows the user to
select between speakers, wired headset, or bluetooth headset for its audio
output; the webapp already has gUM permission so now it can use
getMediaDevices() to enumerate output sinks and use the proposal here to
route the remote audio feed to the desired device.
More information about the whatwg