Skip to content
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

Ensure permission request for listDevices works also in Firefox #1188

Merged
merged 2 commits into from
Jul 12, 2024

Conversation

lukasIO
Copy link
Contributor

@lukasIO lukasIO commented Jul 11, 2024

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.

Copy link

changeset-bot bot commented Jul 11, 2024

🦋 Changeset detected

Latest commit: 62b663d

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

Copy link
Contributor

github-actions bot commented Jul 11, 2024

size-limit report 📦

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

@lukasIO lukasIO requested a review from davidzhao July 11, 2024 10:12
Copy link
Member

@davidzhao davidzhao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@lukasIO lukasIO merged commit f33a6ad into main Jul 12, 2024
3 checks passed
@lukasIO lukasIO deleted the lukas/ff-audiooutput branch July 12, 2024 07:18
This was referenced Jul 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants