GitHub

Source

useIsRecording

The useIsRecording hook returns a boolean that indicates if the room is currently being recorded.

Import

import { useIsRecording } from "@livekit/components-react";

Usage

const isRecording = useIsRecording();

Properties

room?Room

Returns

boolean;