Valora
API Reference@valora-ai/reactindexFunctions

useSpeakingParticipants

function useSpeakingParticipants(): unknown[];

Defined in: packages/react/src/hooks/participant/useSpeakingParticipants.ts:19

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

Returns

unknown[]

Example

function ActiveSpeakerList() {
  const activeSpeakers = useSpeakingParticipants();
  return <ParticipantLoop participants={activeSpeakers}><ParticipantName /></ParticipantLoop>;
}

On this page

Valora is local-first

No API key, no server — everything in this doc runs on-device.

Star on GitHub