Hiyve Components - v1.0.0
    Preparing search index...

    Interface RecordingState

    Recording state for meeting recordings.

    Tracks whether a recording is in progress and provides the recording ID and start time for duration calculations.

    Recording is asynchronous -- when startRecording() is called, the recording does not start immediately. Instead:

    1. isRecordingStarting becomes true
    2. A recording bot is launched on the server
    3. When the bot joins and starts recording, isRecording becomes true
    4. isRecordingStarting becomes false

    Use isRecordingStarting to show a loading indicator while waiting for the recording to begin.

    Recording indicator with loading state:

    function RecordingBadge() {
    const { isRecording, isRecordingStarting } = useRecording();

    if (isRecordingStarting) return <ActivityIndicator color="red" />;
    if (!isRecording) return null;

    return <View style={styles.recordingDot} />;
    }

    RecordingOptions for recording configuration

    interface RecordingState {
        error: string | null;
        isRecording: boolean;
        isRecordingStarting: boolean;
        recordingId: string | null;
        recordingStartTime: Date | null;
        responseId: string | null;
    }
    Index

    Properties

    error: string | null

    Error message if recording failed to start or encountered an error, null otherwise

    isRecording: boolean

    Whether a recording is currently in progress

    isRecordingStarting: boolean

    Whether a recording start request is in progress. True from when startRecording() is called until the server confirms recording has started.

    recordingId: string | null

    Server-assigned recording ID, null if not recording

    recordingStartTime: Date | null

    When the recording started, null if not recording

    responseId: string | null

    AI context ID created by the recording bot. Used for querying AI against the accumulated transcript context. Only available when transcription is enabled with useContext: true.