Re: [mediacapture-main] enumerateDevices() doesn't mention how to handle OS device permissions

That said, I like the idea of solving the lack of OS permissions the way @youennf suggests. I.e. barring more information, return one default mic and one default camera with deviceIds.

But I think once OS permissions are granted, we should honor those deviceIds to open the real devices the UA would have chosen if unconstrained.

I also agree it's appropriate to fire a *devicechange* event once we learn what the user has, unless the user happens to have exactly one mic and one camera perhaps?

GitHub Notification of comment by jan-ivar
Please view or discuss this issue at using your GitHub account

Received on Wednesday, 26 September 2018 12:49:03 UTC