voxeet / voxeet-sdk-web

The Dolby.io Communications SDK for Web.
https://www.npmjs.com/package/@voxeet/voxeet-web-sdk
Other
4 stars 2 forks source link

Separate camera and microphone user authorization #22

Open christianzingg opened 1 year ago

christianzingg commented 1 year ago

While testing and looking for a workaround to issue #21, we noticed that camera and microphone authorization can be requested at once, but voxeet does it in two steps.

When joining to a call

const joinOptions = {
    constraints: { audio: true, video: true }
};

we discovered that first camera authorization is requested: image

and after 2-3 secounds microphone authorization is requested: image

Better user experience would be, if camera/microphone authorization is made at same time.

for example the following code await navigator.mediaDevices.getUserMedia({ audio: true, video: true });

requests authorization at same time: image

FabienLavocat commented 1 year ago

Thank you for reporting this improvement request, I have filed an internal request and will update you as soon as I hear back from our team.