Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
codlab committed Mar 5, 2021
2 parents 49c1add + 79565ce commit 82c0dc1
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 3 deletions.
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,23 @@ To enable a video, use the defaultVideo (as in the example below). By default, t
await VoxeetSDK.defaultVideo(true);
```

### Events

**ConferenceStatusUpdated**

To receive events regarding the status of the local `Conference`. This method will be refactored in a future version to provide more events in a consistent and coherent way.

```
const callback = (event: ConferenceStatusUpdated) => {
const { conferenceId, conferenceAlias, status } = event;
console.warn(`${conferenceId}/${conferenceAlias} := ${status}`);
};
await VoxeetSDK.onConferenceStatusUpdatedEvent(callback);
```


## Documentation

A full documentation can be found here: https://dolby.io/developers/interactivity-apis/client-ux-kit/uxkit-voxeet-cordova.
Expand Down
3 changes: 3 additions & 0 deletions RELEASENOTES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Release Notes

### 1.5.2 (Mar 5th, 2021)
- Android, fix ConferenceStatusUpdated `status` name

### 1.5.1 (Mar 2nd, 2021)
- bump iOS SDK to 3.1.0 and iOS UXKit to 1.4.2
- add `onConferenceStatusUpdatedEvent` event
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cordova-plugin-voxeet",
"version": "1.5.1",
"version": "1.5.2",
"description": "Cordova Voxeet Plugin",
"cordova": {
"id": "cordova-plugin-voxeet",
Expand Down
2 changes: 1 addition & 1 deletion plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
id="cordova-plugin-voxeet"
version="1.5.1">
version="1.5.2">
<name>Voxeet</name>
<description>Cordova Voxeet Plugin</description>
<license>Apache 2.0 License</license>
Expand Down
2 changes: 1 addition & 1 deletion src/android/com/voxeet/toolkit/VoxeetCordova.java
Original file line number Diff line number Diff line change
Expand Up @@ -1172,7 +1172,7 @@ public void onEvent(ConferenceStatusUpdatedEvent event) {
if (onConferenceStatusUpdatedEventCallback != null) {
try {
JSONObject jObject = new JSONObject()
.put("state", event.state.toString())
.put("status", event.state.toString())
.put("conferenceAlias", event.conferenceAlias);
if (event.conference != null) {
jObject.put("conferenceId", event.conference.getId());
Expand Down

0 comments on commit 82c0dc1

Please sign in to comment.