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

Disable webAudioMix by default #1159

Merged
merged 1 commit into from
Jun 11, 2024
Merged

Conversation

lukasIO
Copy link
Contributor

@lukasIO lukasIO commented Jun 11, 2024

Due to various issues around echo cancellation and sound duplication that have popped up recently, we're going to disable webAudioMix by default.
The advantages of dealing with native HTMLAudioElement playback outweigh the benefits of piping everything through webAudio.
The main remaining downside of webAudioMix: false is backgrounded tabs in Safari not playing back newly created audio elements if you're not also publishing yourself. That is an edge case that we'll try to fix separately, but for most users it seems better to have web audio disabled by default.

Copy link

changeset-bot bot commented Jun 11, 2024

🦋 Changeset detected

Latest commit: 8dc46ca

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 Minor

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

size-limit report 📦

Path Size
dist/livekit-client.esm.mjs 80.2 KB (+0.01% 🔺)
dist/livekit-client.umd.js 85.99 KB (+0.01% 🔺)

@lukasIO lukasIO merged commit 7ed25ef into main Jun 11, 2024
3 checks passed
@lukasIO lukasIO deleted the lukas/disable-webaudio-by-default branch June 11, 2024 16:33
@github-actions github-actions bot mentioned this pull request Jun 11, 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