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