Get Started
OutRival Voice Call SDK
Voice Calls for OutRival API in your web application
Installation
To install the OutRival Voice Call SDK via npm, run the following command:
Usage
Import the OutRival Voice SDK into your project:
Create a new instance of the OutRival Voice Call SDK using your public key or token:
Voice call start
Initiate the call with a companion:
After initiating the call, microphone permissions will be requested. Once granted, the client will be able to interact with their companion.
Voice call stop
To stop the call with a companion, use the following method:
Microphone mute
To mute\unmute the microphone use the following method:
Events
The OutRival Voice Call SDK provides a set of events that you can listen to:
Listening to these events will help you track the call progress and user interaction with the companion.