livekit / client-sdk-js

LiveKit browser client SDK (javascript)
https://livekit.io
Apache License 2.0
334 stars 143 forks source link

Ensure permission request for listDevices works also in Firefox #1188

Closed lukasIO closed 1 month ago

lukasIO commented 1 month ago

When calling enumerateDevices in Firefox it would return a list of inputs correctly populated, but omits the audiooutput mediakind. By filtering for the desired kind on the returned list we can make sure to request permissions if the desired kind is missing. This will make it possible to list and select audio output devices in Firefox.

changeset-bot[bot] commented 1 month ago

🦋 Changeset detected

Latest commit: 62b663dfb6afa612b3b7e04f93380a4ee7008954

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package | Name | Type | | -------------- | ----- | | livekit-client | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

github-actions[bot] commented 1 month ago

size-limit report 📦

Path Size
dist/livekit-client.esm.mjs 80.78 KB (+0.01% 🔺)
dist/livekit-client.umd.js 86.61 KB (0%)