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[]
The useSpeakingParticipants hook returns the only the active speakers of all participants.
import { useSpeakingParticipants } from '@livekit/components-react';
import("livekit-client").Participant[]
Previous
useSortedParticipantsUp Next
useToken