The loudest participant right now.
Reads audioDecibels, which the SDK maintains per participant. MediaSFU's own grids treat roughly 127.5 as the noise floor, so quieter rooms report no active speaker rather than flickering between people.
audioDecibels
const speaker = getActiveSpeaker({ parameters });if (speaker.name) highlight(speaker.name); Copy
const speaker = getActiveSpeaker({ parameters });if (speaker.name) highlight(speaker.name);
The loudest participant right now.
Reads
audioDecibels, which the SDK maintains per participant. MediaSFU's own grids treat roughly 127.5 as the noise floor, so quieter rooms report no active speaker rather than flickering between people.