w3c / mediacapture-output

API to manage the rendering of audio on any audio output device
https://w3c.github.io/mediacapture-output/
Other
26 stars 25 forks source link

Reset `MediaDevices` [[storedDeviceList]] when a new audio output device is exposed by `selectAudioOutput()` #123

Closed karlt closed 2 years ago

karlt commented 3 years ago

This is necessary to update the results of enumerateDevices(), if [[storedDeviceList]] is not null.

But the appropriate solution here may depend on changes for https://github.com/w3c/mediacapture-main/issues/810#issuecomment-892437367

karlt commented 2 years ago

I'm going to propose a different approach for enumerateDevices() and [[storedDeviceList]] so that there is no need to reset on exposure changes. I expect no changes will be required to mediacapture-output.