Re: [mediacapture-output] Persisting deviceIds Across Sessions (#127)

Firefox fixed this in [bug 1712892](https://bugzil.la/1712892). Here's a [demo page](https://jan-ivar.github.io/dummy/gum_picker_output3.html). This is definitely a use case the spec wants to solve.

> By _requiring_ the browser persist explicitlyGrantedAudioOutputDevices, this would immediately solve this issue.

I think the gold standard here is [getUserMedia](https://w3c.github.io/mediacapture-main/#dom-mediadeviceinfo-deviceid), which also shies away from requiring persistence. The MAY language reflects the user agent ultimately being in charge of this decision for privacy reasons, e.g. if cookies are cleared. Therefore a web page can never rely on there not being a prompt.


-- 
GitHub Notification of comment by jan-ivar
Please view or discuss this issue at https://github.com/w3c/mediacapture-output/issues/127#issuecomment-1979092772 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 5 March 2024 15:54:53 UTC