-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Device selection in EC video rooms doesn't always work #23331
Comments
Please define "doesn't work" |
The problem here is indeed that the browser is giving different device IDs for the same device between the different origins. Our best bet is probably to pass the device list over the postmessage API from EC -> EW so EW can present them to the user, although we'll need to prompt for user media permission before we can get the names of the devices - maybe we can show a "please accept permissions" screen in the preview like we do in element call. Previewing the input in EW is going to be an issue though: we'll have to match up the device names, which means we'll also need to prompt for user media permission on the element web origin if we don't already have it... |
As @robintown points out, if we're doing device name matching in EW to get the right preview, we may as well just pass the chosen devices over by device name rather than ID in the first place. |
device IDs are different for each origin, so won't match up when passed in & out of widgets. Use the label instead. For element-hq/element-web#23331
No description provided.
The text was updated successfully, but these errors were encountered: