← Back to release summary

SelectAudioOutput API

Category
WebRTC
Type
Chromium catches up
Status
In development (Chrome In development)
Intent stage
None

WPT details: https://wpt.fyi/results/audio-output

Summary

This API prompts the user to select a specific audio output device. This API allows the user to select an audio output device device per-origin when they have multiple devices available without giving access to "microphone" permissions. Instead "speaker-selection" permissions should be allowed for the use of this API. This chosen device can then be used by the setSinkId API for audio output. Currently, this can be done by using getUserMedia() API but that needs microphone permissions to allow the selection. This fails to work when there are no microphones and only audio output devices.

Standards & signals

Ecosystem

View on chromestatus.com