aivideocall
v1.0.5-alpha2
Published
Using this package, you can integrate the callyourai video-call component into your react application.
Downloads
2
Maintainers
Readme
AIVideoCall
Description
Using this package, you can integrate the callyourai video-call component into your react application.
Installation
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
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