Created attachment 326312 [details]
Get/set audio output test case
mediaDevices.enumerateDevices() does not return any valid devices of type 'audiooutput'
HTMLMediaElement.setSinkId(), used to pass output device IDs to media elements to control which output the element should use, is not supported.
Attached test case illustrates these work on Chrome and Opera, but not Safari.
As of r230941 this is still an existing limitation.
Is it blocked on something? Is there an intention to implement this feature?
Looks to me like it's part of the standards: https://w3c.github.io/mediacapture-output/
Because it's not possible to change the audio output on iOS/Safari, it's not possible to deliver an audio-only call to the handset earpiece, as one would expect an audio only call to behave.
FYI setSinkId will shortly be available in all browsers except Safari:
- Chrome: already supported
- Edge: already supported
- Firefox: coming in v64
Any progress on this bug?
It supports in Chrome, EDGE, Opera, Firefox(under the flag).
Work is being done at bug 216641, let's continue there.
- enumerateDevices can expose output devices that are in the same group as microphone devices
- ongoing work to add/specify setSinkId/setAudioOutputDevice
- ongoing work add/specify selectAudioOutputDevice
*** This bug has been marked as a duplicate of bug 216641 ***