Skip to content

Commit d5f6009

Browse files
committed
1.2.0
1 parent d8d5aa2 commit d5f6009

File tree

7 files changed

+28
-6
lines changed

7 files changed

+28
-6
lines changed

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,13 @@
11
# Change Log
2+
### 1.2.0 (July 20, 2020)
3+
* Added support for Peer-to-peer call.
4+
* The Peer-to-peer option can be configured on the dashboard.
5+
* Added getting ongoing call count and ongoing status of `DirectCall`.
6+
* Added `getOngoingCallCount(): number` to `SendBirdCall`.
7+
* Added `readonly isOngoing: boolean` to `DirectCall`.
8+
* Added `setCallConnectionTimeout(timeout: number): void` to `SendBirdCall`.
9+
* The call connection timer starts when the callee accepts the call. The timer will end the call after the specified timeout interval.
10+
* Improved stability.
211
### 1.1.4 (July 14, 2020)
312
* Bug fix
413
* Fixed typo in `d.ts`.

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -315,6 +315,15 @@ call.onEnded = (call) => {
315315
};
316316
```
317317

318+
## Mirror a MediaView
319+
You can set the current user’s local video view as mirrored or reversed when the camera is facing the user. This can be easily done by adding the `transform` CSS property to your `localMediaView` element.
320+
```CSS
321+
#local-media-view
322+
{
323+
transform: rotateY(180deg); /* add this property */
324+
}
325+
```
326+
318327
## Configuring media devices
319328
The `SendBirdCall` object contains a collection of methods used to configure media devices. Each media type has corresponding methods to (1) retrieve a list of devices (2) retrieve the current device, (3) select a device, and (4) update devices. If media device configuration changes, any ongoing calls are affected immediately.
320329

SendBirdCall.min.d.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
/** 1.1.4 */
1+
/** 1.2.0 */
22

3+
// eslint-disable-next-line no-undef
34
export as namespace SendBirdCall;
45

56
export function init(appId: string): void;
@@ -26,7 +27,9 @@ export function updateCustomItems(callId: string, customItems: CustomItems, call
2627
export function deleteCustomItems(callId: string, customItemKeys: string[], callback?: CustomItemsHandler): Promise<CustomItemsResult>;
2728
export function deleteAllCustomItems(callId: string, callback?: CustomItemsHandler): Promise<CustomItemsResult>;
2829
export function setLoggerLevel(level: LoggerLevel): LoggerLevel;
30+
export function getOngoingCallCount(): number;
2931
export function setRingingTimeout(timeout: number): void;
32+
export function setCallConnectionTimeout(timeout: number): void;
3033
export function getCall(callId: string): DirectCall;
3134
export const sdkVersion: string;
3235
export const appId: string;
@@ -130,6 +133,7 @@ export interface DirectCall {
130133
readonly isLocalVideoEnabled: boolean;
131134
readonly isRemoteVideoEnabled: boolean;
132135
readonly myRole: DirectCallUserRole;
136+
readonly isOngoing: boolean;
133137
readonly endedBy: DirectCallUser;
134138
readonly isEnded: boolean;
135139
readonly endResult: DirectCallEndResult;

SendBirdCall.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sendbird-calls",
3-
"version": "1.1.4",
3+
"version": "1.2.0",
44
"authors": [
55
"SendBird <support@sendbird.com>"
66
],

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sendbird-calls",
3-
"version": "1.1.4",
3+
"version": "1.2.0",
44
"description": "SendBird Calls JavaScript SDK",
55
"main": "SendBirdCall.min.js",
66
"types": "SendBirdCall.min.d.ts",

0 commit comments

Comments
 (0)