Skip to content

Conversation

@SaiChand-Headout
Copy link
Contributor

No description provided.

@CLAassistant
Copy link

CLAassistant commented Feb 27, 2025

CLA assistant check
All committers have signed the CLA.

@SaiChand-Headout
Copy link
Contributor Author

@davidliu , currently when you set the bands number in RN side, it's not being reflected as expected, when debugging found this piece of code, where the integer is being typecasted to string which is throwing nil. This is a small fix for that.

These were my values in RN side while calling the hook
const magnitudes = useMultibandTrackVolume(microphoneTrack?.audioTrack, {
bands: 20,
maxFrequency: 1000,
minFrequency: 0,
updateInterval: 100,
});

@davidliu davidliu merged commit 5d6d558 into livekit:main Feb 27, 2025
4 checks passed
@davidliu
Copy link
Contributor

Thanks for the PR!

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