Create a new stored room
Admit a user from the waiting room
Audio processing state (feedback, validation, gainNode)
Chat state (messages, unreadCount)
Clear the stored rooms error
Clear the unread message counter
The Hiyve Client instance, null if not connected
Connection state (isConnected, isConnecting, error)
Create a new room as the owner/host
Delete a stored room by roomName
Enrich recent transcriptions with mood/sentiment data. Call this from MoodAnalysisProvider's onMoodChange callback to attach mood data to transcriptions. Uses a lookback window (default 30s) to find recent transcriptions from the same user.
User ID whose transcriptions should be enriched
Mood data to attach to recent transcriptions
Fetch all stored rooms for a user
Get room information from a join token without joining. Use this to validate a token and show the room name before the user joins.
Get a single stored room by roomName
Get the streaming URLs for the current stream. Returns the playback URL if streaming is active.
Hand raise state (raised hands map)
Join an existing room as a participant
Join a room using a join token (from an invite link). Use this instead of joinRoom when joining via an invite link, especially for password-protected rooms.
Layout state (dominant speaker)
Leave the current room and disconnect
Load chat history from the server. Returns messages in reverse chronological order (newest first in response). Messages are prepended to the chat state in chronological order.
Optionalcursor: string | nullPass null for first request, then use nextCursor from previous response
Object with hasMore (boolean) indicating if more history is available
Local media state (mute states, screen sharing)
Lower all raised hands in the room (host only). Broadcasts a message to clear all raised hands for all participants.
Mute/unmute a remote participant's audio output locally (only affects your playback)
Participants state (participants map, localUserId)
Recording state (isRecording, recordingId, startTime)
Reject a user from the waiting room
Remotely mute/unmute a participant's audio
Remotely mute/unmute a participant's video
Room state (room info, isOwner, isInRoom)
Send a data message (arbitrary JSON)
Send a text chat message
Switch to a different microphone
Switch to a different speaker
Set the dominant speaker for video grid layouts. Only room owners can set the dominant speaker. The change is broadcast to all participants via data messages, so everyone sees the same layout. In speaker/sidebar modes, the dominant speaker is shown in the main area.
User ID to make dominant, or null to clear
Set the microphone gain (0-100)
Switch to a different camera
Start recording the meeting. Returns true if API call succeeded, false on immediate failure.
Start sharing screen
Start cloud streaming. Optionally create an MP4 file from the stream.
Start real-time transcription. Returns true if API call succeeded, false on immediate failure.
Stop the current recording
Stop sharing screen
Stop live streaming
Stop transcription
Stored rooms state (persistent room management)
Streaming state (isStreaming, streamingId, featuredUser)
Switch the featured user in the stream. Only the room owner can switch the featured user.
User ID to feature in the stream
Toggle local microphone mute/unmute
Toggle the local user's hand raised state. When raised, a data message is broadcast to all participants. Other participants will see the hand raise indicator on your video tile.
Toggle speaker/output mute
Toggle local camera on/off
Transcription state (isTranscribing, transcriptions)
Update an existing stored room by roomName
Wait for host state (isWaiting, roomName, timeout)
Waiting room state (waitingUsers)
Full client context value combining state and actions.
Remarks
This type combines all state properties and all action methods. For simpler access, use the specialized hooks from
@hiyve/reactwhich return only relevant portions.Example
Using specialized hooks:
See
@hiyve/reactfor accessing specific slices