Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@lukasIO
Copy link
Contributor

@lukasIO lukasIO commented Mar 7, 2025

the createAudioAnalyser helper ist standalone and creates a new AudioContext.

If this audio context is constructed prior to any user interaction on the page it might stay suspended.
This PR registers a click listener on the document body in order to attempt to resume the context on any click on the page

@changeset-bot
Copy link

changeset-bot bot commented Mar 7, 2025

🦋 Changeset detected

Latest commit: 6dc6942

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

@lukasIO lukasIO requested review from bcherry and davidzhao March 7, 2025 14:42
@github-actions
Copy link
Contributor

github-actions bot commented Mar 7, 2025

size-limit report 📦

Path Size
dist/livekit-client.esm.mjs 90.49 KB (+0.09% 🔺)
dist/livekit-client.umd.js 98.16 KB (+0.1% 🔺)

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.

lg!

@lukasIO lukasIO merged commit 0f50595 into main Mar 8, 2025
6 checks passed
@lukasIO lukasIO deleted the lukas/start-audio-analyser-on-click branch March 8, 2025 10:43
@github-actions github-actions bot mentioned this pull request Mar 8, 2025
svajunas-budrys pushed a commit to svajunas-budrys/client-sdk-js that referenced this pull request Jun 17, 2025
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.

4 participants