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

> I'd like if possible to keep allowing web apps to just resort on enumerateDevices to figure out what is happening.

I'd like for someone to show how an app can do that and cover all the edge-cases we've discussed so far (racing with device exposure, racing with enumerateDevices itself, relying on pre-gUM vs post-gUM baseline, handling pre-gUM insertion (from 0→1 devices).

The more I think about all the edge-cases I'm not confident apps will be able to decode device insertion correctly in all cases. Do we need a discrete `deviceinserted` event?

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


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

Received on Monday, 25 September 2023 19:27:43 UTC