Skip to content

Commit

Permalink
update 1.8.0 doc
Browse files Browse the repository at this point in the history
  • Loading branch information
ylkjick532428 committed Aug 25, 2020
1 parent b8c179f commit f18cc5a
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CDN/js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
// if (!china) ZoomMtg.setZoomJSLib('https://source.zoom.us/1.8.0/lib', '/av'); // CDN version default
// else ZoomMtg.setZoomJSLib('https://jssdk.zoomus.cn/1.8.0/lib', '/av'); // china cdn option
// ZoomMtg.setZoomJSLib('http://localhost:9999/node_modules/@zoomus/websdk/dist/lib', '/av'); // Local version default, Angular Project change to use cdn version
ZoomMtg.preLoadWasm();
ZoomMtg.preLoadWasm(); // pre download wasm file to save time.

var API_KEY = "YOUR_API_KEY";

Expand Down
16 changes: 16 additions & 0 deletions CDN/js/meeting.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,22 @@
console.log(res);
},
});

ZoomMtg.inMeetingServiceListener('onUserJoin', function (data) {
console.log('inMeetingServiceListener onUserJoin', data);
});

ZoomMtg.inMeetingServiceListener('onUserLeave', function (data) {
console.log('inMeetingServiceListener onUserLeave', data);
});

ZoomMtg.inMeetingServiceListener('onUserIsInWaitingRoom', function (data) {
console.log('inMeetingServiceListener onUserIsInWaitingRoom', data);
});

ZoomMtg.inMeetingServiceListener('onMeetingStatus', function (data) {
console.log('inMeetingServiceListener onMeetingStatus', data);
});
}

beginJoin(meetingConfig.signature);
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

## Enhancements
1. fix with noise
2. Simd support import performance(https://developers.chrome.com/origintrials/#/trials/active)
2. Simd support(need apply try https://developers.chrome.com/origintrials/#/trials/active)
3. Waiting room notice(sound and browser notice)

## version 1.7.10
Expand Down
17 changes: 17 additions & 0 deletions Local/js/meeting.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,23 @@ function beginJoin(signature) {
console.log(res);
},
});

ZoomMtg.inMeetingServiceListener('onUserJoin', function (data) {
console.log('inMeetingServiceListener onUserJoin', data);
});

ZoomMtg.inMeetingServiceListener('onUserLeave', function (data) {
console.log('inMeetingServiceListener onUserLeave', data);
});

ZoomMtg.inMeetingServiceListener('onUserIsInWaitingRoom', function (data) {
console.log('inMeetingServiceListener onUserIsInWaitingRoom', data);
});

ZoomMtg.inMeetingServiceListener('onMeetingStatus', function (data) {
console.log('inMeetingServiceListener onMeetingStatus', data);
});

}

beginJoin(meetingConfig.signature);

0 comments on commit f18cc5a

Please sign in to comment.