UNPKG

aivideocall

Version:

Using this package, you can integrate the callyourai video-call component into your react application.

36 lines (34 loc) 915 B
import { default as React } from 'react'; export interface CallSession { userId: string; agentId: string; } interface VideoCallSettings { AutoPlayVideo: boolean; AutoConnect: boolean; StartVideoMuted: boolean; WaitForStreamer: boolean; UseMic: boolean; KeyboardInput: boolean; MouseInput: boolean; TouchInput: boolean; GameInput: boolean; XRControllerInput: boolean; MatchViewportRes: boolean; FakeMouseWithTouches: boolean; HoveringMouse: boolean; AFKTimeout: number; TimeoutIfIdle: boolean; PreferredCodec: string; ss: string; } interface AIVideoCallProps { videoCallSettings?: VideoCallSettings; callSession: CallSession; showLanguageSelection?: boolean; showMicButton?: boolean; languageLocale?: string; AFKTimeout?: number; } declare const AIVideoCall: React.FC<AIVideoCallProps>; export default AIVideoCall;