UNPKG

@voxket-ai/voxket-live

Version:

A React widget for embedding Voxket-powered audio/video/chat experiences.

30 lines (29 loc) 1.2 kB
import { default as React } from 'react'; import { ThemeType } from '../../../styles'; import { DisplayType } from '../../widget'; import { AudioOrbUI } from '../../voxket/AudioOrb'; interface SessionViewProps { disabled: boolean; sessionStarted: boolean; participantName: string; loadingText?: string; theme?: ThemeType; client?: any; displayType?: DisplayType; popupTriggerLogoUrl?: string; headerLogo?: string; onBack?: () => void; orgLogoWidth?: number; orgLogoHeight?: number; showOrgLogo?: boolean; /** Custom colors for the AudioOrb visualizer. */ audioOrbUI?: AudioOrbUI; /** When true, shows an Agent Assist toggle in the header. * Toggling on broadcasts AGENT_ASSIST_START to LiveKit topic 'assist.event' * and listens for suggestions on 'assist.suggestion'. */ agentAssistEnabled?: boolean; /** When true (backend returned is_human_handled=true), a camera toggle is shown * in the control bar so the user can enable/disable their camera. */ isHumanHandled?: boolean; } export declare const SessionView: React.ForwardRefExoticComponent<SessionViewProps & React.RefAttributes<HTMLElement>>; export {};