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

Fix duplicated incoming audio when using AudioTrack renderer and its muted property #855

Merged
merged 2 commits into from
May 2, 2024

Conversation

lukasIO
Copy link
Contributor

@lukasIO lukasIO commented Apr 30, 2024

closes #845

With webAudioMix enabled by default, we're relying on the fact that the HTMLAudioElement stays muted in the DOM as the audio playback itself will be happening through the WebAudio API.

However, we didn't extract the muted property from the AudioTrackProps before re-assigning them to the <AudioTrack /> component. This could lead to the audio being played back both through the HTMLAudioElement and the WebAudio API.

Copy link

changeset-bot bot commented Apr 30, 2024

🦋 Changeset detected

Latest commit: f3c44a3

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

This PR includes changesets to release 5 packages
Name Type
@livekit/components-react Patch
@livekit/component-example-next Patch
@livekit/components-js-docs Patch
@livekit/component-docs-storybook Patch
@livekit/components-docs-gen 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

@lukasIO lukasIO requested review from Ocupe and davidzhao April 30, 2024 13:56
Copy link
Contributor

github-actions bot commented Apr 30, 2024

size-limit report 📦

Path Size
LiveKitRoom only 1.87 KB (0%)
LiveKitRoom with VideoConference 28.12 KB (+0.03% 🔺)
All exports 33.23 KB (-0.08% 🔽)

@lukasIO lukasIO merged commit 99158d5 into main May 2, 2024
3 checks passed
@lukasIO lukasIO deleted the lukas/fix-duplicate-sound branch May 2, 2024 08:58
@github-actions github-actions bot mentioned this pull request Apr 30, 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.

Sound Duplication on iPhone 12
3 participants