SendBird provides SendBirdCall
framework for your app enabling real-time voice and video calls
between your users. This sample introduces an applications based on SendBirdCall
.
- Node
- npm (or yarn)
- Modern browser, supporting WebRTC APIs.
- Login or Sign-up for an account at dashboard.
- Create or select an application on the SendBird Dashboard.
- Note the
Application ID
for future reference. - Contact sales to get the
Calls
menu enabled in the dashboard. (Self-serve coming soon.)
- In the SendBird dashboard, navigate to the
Users
menu. - Create at least two new users, one that will be the
caller
, and one that will be thecallee
. - Note the
User ID
of each user for future reference.
1. Clone this repository
$ git clone git@github.com:sendbird/examples-calls-javascript.git
2. Install dependencies
$ cd examples-calls-javascript
$ npm install
3. Start sample app
$ npm start
4. If two devices are available, repeat these steps to install the sample application on both the primary device and the secondary device.
BaseExample
The example contains simple implementation of making and receiving a DirectCall.
AudioOnlyCall
The example contains simple implementation of making and receiving audio-only type call.
AutoAcceptCall
The example contains simple implementation of auto accepting a call.
AutoDeclineCall
The example contains simple implementation of auto declining a call.
LocalRecording
The example contains simple implementation of local recording during a call.
ScreenCapture
The example contains an implementation of capturing local and remote video view during a call.
ScreenShare
The example contains an implementation of screen sharing during a call.