LiveKit LogoDocs
Real-timeEgress/IngressCloudReference

useSpeakingParticipants

The useSpeakingParticipants hook returns the only the active speakers of all participants.

Import

import { useSpeakingParticipants } from '@livekit/components-react';

Returns

import("livekit-client").Participant[]

On this page

ImportReturns

Previous

Chevron IconuseSortedParticipants
LiveKit Logo

Product

SFU

SDKs

Cloud Dashboard

Cloud Status

GitHub Logo