W3C home > Mailing lists > Public > public-webrtc-logs@w3.org > September 2018

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

From: Jan-Ivar Bruaroey via GitHub <sysbot+gh@w3.org>
Date: Wed, 26 Sep 2018 12:49:02 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-424702588-1537966140-sysbot+gh@w3.org>
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 https://github.com/w3c/mediacapture-main/issues/541#issuecomment-424702588 using your GitHub account
Received on Wednesday, 26 September 2018 12:49:03 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 6 May 2023 21:19:45 UTC