Skip to main content
activeSpeakerMode() Prebuilt Custom In Active Speaker mode, the participant who is currently speaking is displayed prominently while others appear smaller. When disabled, the layout defaults to a grid where every participant appears the same size. Active Speaker mode is local-only — changing it only affects the local participant’s view.
This method always returns false in call object mode. To build your own active-speaker UI with a custom call object, listen for active-speaker-change events instead.

Return value

booleantrue if Active Speaker mode is currently enabled, false otherwise. Returns false if the participant has not yet joined a call.

Example

const isActiveSpeaker = call.activeSpeakerMode();
console.log('Active Speaker mode:', isActiveSpeaker);

See also