Skip to content
This repository was archived by the owner on Feb 10, 2022. It is now read-only.

Commit bedd9fc

Browse files
committed
Update Sample to 1.0.0
1 parent 0221c12 commit bedd9fc

40 files changed

+1571
-311
lines changed

README.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SendBird Calls—QuickStart Guide for JavaScript
22

33
## Introduction
4-
SendBird provides `SendBirdCall` framework for your app enabling `VoIP` communication among your users. This sample introduces an applications based on `SendBirdCall`.
4+
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`.
55

66
## Prerequisites
77
- Node
@@ -22,14 +22,14 @@ SendBird provides `SendBirdCall` framework for your app enabling `VoIP` communic
2222
## Installing and running the sample application
2323
1\. Clone this repository
2424
```shell script
25-
$ git clone git@github.com:sendbird/quickstart-calls-js.git
25+
$ git clone git@github.com:sendbird/quickstart-calls-javascript.git
2626
```
2727
2\. Install dependencies
2828
```shell script
29-
$ cd quickstart-calls-js
29+
$ cd quickstart-calls-javascript
3030
$ npm install
3131
```
32-
3\. In `envs.js`, replace the value of `TEST_APP_ID` with your `Application ID`.
32+
3\. In `envs.js`, replace the value of `TEST_APP_ID` with your `Application ID`. If you skip this step, an additional field for the `Application ID` will appear in the login view.
3333
```javascript
3434
export const TEST_APP_ID = 'YOUR_APP_ID';
3535
```
@@ -56,7 +56,6 @@ $ npm run start
5656
6. If all steps have been followed correctly, an incoming call notification will appear on the `callee` user’s browser.
5757
7. Reverse roles, and initiate a call from the other browser.
5858
8. If the `caller` and `callee` devices are near each other, use headphones to prevent audio feedback.
59-
9. The SendBird Calls JavaScript Sample has been successfully implemented.
6059

6160
## Reference
6261
[SendBird Calls JS SDK Readme](https://github.com/sendbird/sendbird-calls-javascript/blob/master/README.md)

envs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
export const TEST_APP_ID = BUILD_APP_ID || 'YOUR_APP_ID';
1+
export const TEST_APP_ID = BUILD_APP_ID || undefined;
22
export const USER_ID = undefined;
33
export const ACCESS_TOKEN = undefined;
44
export const IS_ACCESS_TOKEN_NEEDED = false;

js/widget.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import "../css/main.css";
22
import LoginView from "../lib/views/LoginView";
33
import CallView from "../lib/views/CallView";
4-
import WidgetDialView from "../lib/views/WidgetDialView";
4+
import DialView from "../lib/views/DialView";
55
import { TEST_APP_ID, USER_ID, ACCESS_TOKEN, IS_ACCESS_TOKEN_NEEDED } from "../envs.js";
66
import WidgetApp from "../lib/components/WidgetApp";
77

@@ -12,7 +12,7 @@ function onLoadedHandler() {
1212
pages: {
1313
'index': LoginView,
1414
'login_view': LoginView,
15-
'dial_view': WidgetDialView,
15+
'dial_view': DialView,
1616
'call_view': CallView
1717
},
1818
styles: {

lib/assets/ic-call-logs-filled.svg

Lines changed: 1 addition & 0 deletions
Loading

lib/assets/ic-callkit-audio-20.svg

Lines changed: 3 additions & 0 deletions
Loading
Lines changed: 1 addition & 5 deletions
Loading
Lines changed: 1 addition & 5 deletions
Loading

lib/assets/ic-callkit-end.svg

Lines changed: 1 addition & 1 deletion
Loading

lib/assets/ic-close-20.svg

Lines changed: 3 additions & 0 deletions
Loading

lib/assets/ic-close-black-20.svg

Lines changed: 3 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)