Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix(speaker-levels): convert calculation from string to float (#3870)

virtuacoplennyf77e1dc5910d
diff --git a/modules/UI/audio_levels/AudioLevels.js b/modules/UI/audio_levels/AudioLevels.js
index a59d1193a6..d0fade6fa1 100644
--- a/modules/UI/audio_levels/AudioLevels.js
+++ b/modules/UI/audio_levels/AudioLevels.js
@@ -87,7 +87,8 @@ const AudioLevels = {
// External circle audio level.
const ext = {
- level: ((int.level * scale * level) + int.level).toFixed(0),
+ level: parseFloat(
+ ((int.level * scale * level) + int.level).toFixed(0)),
color: interfaceConfig.AUDIO_LEVEL_SECONDARY_COLOR
};