useIsSpeaking
The useIsSpeaking hook returns a boolean that indicates if the participant is speaking or not.
Import
import { useIsSpeaking } from "@livekit/components-react";
Usage
const isSpeaking = useIsSpeaking(participant);
Properties
Returns
boolean;