Re: [mediacapture-main] Should devicechange fire when the device info changes? (#966)

I don't think it's accurate to say there are unavoidable races here. They're API races we designed. See #972.

> I believe in most cases the application is more interested in knowing the latest state of devices than the causes that led to that state.

Then [devicechange](https://w3c.github.io/mediacapture-main/#event-mediadevices-devicechange) is not the event for them:

<img width="811" alt="image" src="https://github.com/w3c/mediacapture-main/assets/3136226/2d6f11f0-32a0-40cf-bd3b-fc7ec9d3235e">

It clearly says the event denotes a _change_ in devices available to the _"User Agent"_ (i.e. an OS change), not to the web page.


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


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

Received on Wednesday, 27 September 2023 23:12:16 UTC