aivideocall
Version:
Using this package, you can integrate the callyourai video-call component into your react application.
31 lines (26 loc) • 806 B
Markdown
Using this package, you can integrate the callyourai video-call component into your react application.
```sh
npm install aivideocall
```
- 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
```js
import { AIVideoCall } from 'aivideocall';
const userId = <uuid of your user>;
const agentId = <uuid of agent>;
return (
<AIVideoCall
callSession={{ userId, agentId }}
/>
);
```
- 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