mediacapture-output icon indicating copy to clipboard operation
mediacapture-output copied to clipboard

Should the spec define specific static audio output device IDs

Open youennf opened this issue 5 years ago • 3 comments

It might be useful to define specific values for audio output device IDs. Such values could be:

  • 'default' or '', https://github.com/w3c/mediacapture-output/issues/85
  • 'earpiece' (and potentially 'speaker'), most useful for phones that have both a loudspeaker and an earpiece
  • 'none': mute a whole page

youennf avatar Jun 05 '20 12:06 youennf

As a web developer, it would be much better to see these as attributes of devices. It's a frustrating user experience today for media capture to show a user a list of microphones, three of which are potentially the same thing. It's unfortunate to have to carry that problem forward into new APIs.

bradisbell avatar Jul 09 '20 17:07 bradisbell

Cannot the values from pacmd or pactl be used? Missing from the list is 'speech-dispatcher'.

guest271314 avatar Jul 26 '20 19:07 guest271314

DJ software needs to send different audio to the speakers and the headphones, and needs to know which is which.

carlsmith avatar Nov 23 '20 04:11 carlsmith