Skip to content

This repository provides feature-level Calls samples with JavaScript and lets you know how to implement Sendbird Call's various features.

Notifications You must be signed in to change notification settings

sendbird/examples-calls-javascript

Repository files navigation

Examples for Sendbird Calls

Platform Languages License: MIT

Introduction

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.

Prerequisites

  • Node
  • npm (or yarn)
  • Modern browser, supporting WebRTC APIs.

Creating a SendBird application

  1. Login or Sign-up for an account at dashboard.
  2. Create or select an application on the SendBird Dashboard.
  3. Note the Application ID for future reference.
  4. Contact sales to get the Calls menu enabled in the dashboard. (Self-serve coming soon.)

Creating test users

  1. In the SendBird dashboard, navigate to the Users menu.
  2. Create at least two new users, one that will be the caller, and one that will be the callee.
  3. Note the User ID of each user for future reference.

Installing and running the sample application

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.

Samples

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.

Reference

SendBird Calls JS SDK Readme

About

This repository provides feature-level Calls samples with JavaScript and lets you know how to implement Sendbird Call's various features.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •