See what hooks Tavus supports for managing video calls, media controls, participant management, and conversation events.
joinCall
(function): Function to join a call by URL - handles Daily.co room connectionleaveCall
(function): Function to leave the current call - properly disconnects and cleans up resourcesisPermissionsPrompt
(boolean): Browser is prompting for device permissionisPermissionsLoading
(boolean): Permissions are being processed or camera is initializingisPermissionsGranted
(boolean): Device permission grantedisPermissionsDenied
(boolean): Device permission deniedrequestPermissions
(function): Function to request camera and microphone permissionsonToggleCamera
(function): Function to toggle camera on/offisCamReady
(boolean): Camera permission is granted and readyisCamMuted
(boolean): Camera is currently turned offlocalSessionId
(string): Local session IDonToggleMicrophone
(function): Function to toggle microphone on/offisMicReady
(boolean): Microphone permission is granted and readyisMicMuted
(boolean): Microphone is currently turned offlocalSessionId
(string): Local session IDonToggleScreenshare
(function): Function to toggle screen sharing on/offisScreenSharing
(boolean): Whether screen sharing is currently activelocalSessionId
(string): Local session IDrequestPermissions
(function): Function to request camera and microphone permissionsuser_id
includes ‘tavus-replica’string[]
— Array of replica participant IDsstring[]
— Array of remote participant IDscallback
(function): Function called when app messages are received(message: SendAppMessageProps) => void
- Function that sends the message when called