UNPKG

aivideocall

Version:

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

31 lines (26 loc) 806 B
# AIVideoCall ## Description Using this package, you can integrate the callyourai video-call component into your react application. ## Installation ```sh npm install aivideocall ``` ## Pre-requisites - You create a agent on https://beta.callyour.ai/newagent - Generate a user id for the user who will be using the video call - Note the id of the agent ## Usage ```js import { AIVideoCall } from 'aivideocall'; const userId = <uuid of your user>; const agentId = <uuid of agent>; return ( <AIVideoCall callSession={{ userId, agentId }} /> ); ``` ## Notes - The speech recognition only works on https connections or localhost - The speech recognition is fastest on Chrome and Safari, but also works on Firefox - You can use any user id - a new conversation is started for each new user