Skip to content

Commit

Permalink
2.10.0 update (#62)
Browse files Browse the repository at this point in the history
  • Loading branch information
mayk-zoom authored Feb 28, 2023
1 parent ea1d33f commit 9086bcd
Show file tree
Hide file tree
Showing 12 changed files with 63 additions and 35 deletions.
18 changes: 9 additions & 9 deletions CDN/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<head>
<title>Zoom WebSDK</title>
<meta charset="utf-8" />
<link type="text/css" rel="stylesheet" href="https://source.zoom.us/2.9.7/css/bootstrap.css" />
<link type="text/css" rel="stylesheet" href="https://source.zoom.us/2.9.7/css/react-select.css" />
<link type="text/css" rel="stylesheet" href="https://source.zoom.us/2.10.0/css/bootstrap.css" />
<link type="text/css" rel="stylesheet" href="https://source.zoom.us/2.10.0/css/react-select.css" />
<meta name="format-detection" content="telephone=no">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">

Expand Down Expand Up @@ -62,7 +62,7 @@
<div id="navbar" class="websdktest">
<form class="navbar-form navbar-right" id="meeting_form">
<div class="form-group">
<input type="text" name="display_name" id="display_name" value="2.9.7#CDN" maxLength="100"
<input type="text" name="display_name" id="display_name" value="2.10.0#CDN" maxLength="100"
placeholder="Name" class="form-control" required>
</div>
<div class="form-group">
Expand Down Expand Up @@ -138,12 +138,12 @@
})
</script>

<script src="https://source.zoom.us/2.9.7/lib/vendor/react.min.js"></script>
<script src="https://source.zoom.us/2.9.7/lib/vendor/react-dom.min.js"></script>
<script src="https://source.zoom.us/2.9.7/lib/vendor/redux.min.js"></script>
<script src="https://source.zoom.us/2.9.7/lib/vendor/redux-thunk.min.js"></script>
<script src="https://source.zoom.us/2.9.7/lib/vendor/lodash.min.js"></script>
<script src="https://source.zoom.us/zoom-meeting-2.9.7.min.js"></script>
<script src="https://source.zoom.us/2.10.0/lib/vendor/react.min.js"></script>
<script src="https://source.zoom.us/2.10.0/lib/vendor/react-dom.min.js"></script>
<script src="https://source.zoom.us/2.10.0/lib/vendor/redux.min.js"></script>
<script src="https://source.zoom.us/2.10.0/lib/vendor/redux-thunk.min.js"></script>
<script src="https://source.zoom.us/2.10.0/lib/vendor/lodash.min.js"></script>
<script src="https://source.zoom.us/zoom-meeting-2.10.0.min.js"></script>
<script src="js/tool.js"></script>
<script src="js/vconsole.min.js"></script>
<script src="js/index.js"></script>
Expand Down
4 changes: 2 additions & 2 deletions CDN/js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ function websdkready() {
console.log(JSON.stringify(ZoomMtg.checkSystemRequirements()));

// it's option if you want to change the WebSDK dependency link resources. setZoomJSLib must be run at first
// if (!china) ZoomMtg.setZoomJSLib('https://source.zoom.us/2.9.7/lib', '/av'); // CDN version default
// else ZoomMtg.setZoomJSLib('https://jssdk.zoomus.cn/2.9.7/lib', '/av'); // china cdn option
// if (!china) ZoomMtg.setZoomJSLib('https://source.zoom.us/2.10.0/lib', '/av'); // CDN version default
// else ZoomMtg.setZoomJSLib('https://jssdk.zoomus.cn/2.10.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(); // pre download wasm file to save time.

Expand Down
4 changes: 2 additions & 2 deletions CDN/js/meeting.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ function websdkready() {
console.log(JSON.stringify(ZoomMtg.checkSystemRequirements()));

// it's option if you want to change the WebSDK dependency link resources. setZoomJSLib must be run at first
// ZoomMtg.setZoomJSLib("https://source.zoom.us/2.9.7/lib", "/av"); // CDN version defaul
// ZoomMtg.setZoomJSLib("https://source.zoom.us/2.10.0/lib", "/av"); // CDN version defaul
if (meetingConfig.china)
ZoomMtg.setZoomJSLib("https://jssdk.zoomus.cn/2.9.7/lib", "/av"); // china cdn option
ZoomMtg.setZoomJSLib("https://jssdk.zoomus.cn/2.10.0/lib", "/av"); // china cdn option
ZoomMtg.preLoadWasm();
ZoomMtg.prepareJssdk();
function beginJoin(signature) {
Expand Down
16 changes: 8 additions & 8 deletions CDN/meeting.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,20 @@
<head>
<title>Zoom WebSDK</title>
<meta charset="utf-8" />
<link type="text/css" rel="stylesheet" href="https://source.zoom.us/2.9.7/css/bootstrap.css" />
<link type="text/css" rel="stylesheet" href="https://source.zoom.us/2.9.7/css/react-select.css" />
<link type="text/css" rel="stylesheet" href="https://source.zoom.us/2.10.0/css/bootstrap.css" />
<link type="text/css" rel="stylesheet" href="https://source.zoom.us/2.10.0/css/react-select.css" />
<meta name="format-detection" content="telephone=no">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<meta http-equiv="origin-trial" content="">
</head>

<body>
<script src="https://source.zoom.us/2.9.7/lib/vendor/react.min.js"></script>
<script src="https://source.zoom.us/2.9.7/lib/vendor/react-dom.min.js"></script>
<script src="https://source.zoom.us/2.9.7/lib/vendor/redux.min.js"></script>
<script src="https://source.zoom.us/2.9.7/lib/vendor/redux-thunk.min.js"></script>
<script src="https://source.zoom.us/2.9.7/lib/vendor/lodash.min.js"></script>
<script src="https://source.zoom.us/zoom-meeting-2.9.7.min.js"></script>
<script src="https://source.zoom.us/2.10.0/lib/vendor/react.min.js"></script>
<script src="https://source.zoom.us/2.10.0/lib/vendor/react-dom.min.js"></script>
<script src="https://source.zoom.us/2.10.0/lib/vendor/redux.min.js"></script>
<script src="https://source.zoom.us/2.10.0/lib/vendor/redux-thunk.min.js"></script>
<script src="https://source.zoom.us/2.10.0/lib/vendor/lodash.min.js"></script>
<script src="https://source.zoom.us/zoom-meeting-2.10.0.min.js"></script>
<script src="js/tool.js"></script>
<script src="js/vconsole.min.js"></script>
<script src="js/meeting.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion CDN/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "websdk-cdn",
"version": "2.9.7",
"version": "2.10.0",
"description": "Zoom sample app for web client WebSDK",
"main": "index.js",
"scripts": {
Expand Down
28 changes: 28 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,32 @@
# CHANGELOG
## version 2.10.0
## General
### Added
1. New option to the `init` function to set users’ default view (e.g. Gallery/Speaker), and hide the share audio option for Chrome tabs. See API reference for details

## Client View
### Added
1. New network quality event: `onNetworkQualityChange`

### Enhanced
1. Mobile device styling

### Fixed
1. Regression that caused issues subscribing to videos in 720p
1. Clarity of an error message for when the host has been disabled or removed

## Component view
### Added
1. “Speaker View” as a new view option
1. New network quality icon for participants when on speaker view
1. Support for webinar practice mode and option to start live broadcasts
1. Support for subscribing to “active-speaker” events

### Fixed
1. An issue where the ZAK token was unintentionally cached from a previous join
1. Certain edge cases that caused participant tiles to not show properly after resizing the view container, or after a participant left the meeting
1. Unintentional errors with subsequent calls to `init` after leaving a meeting, destroying the client, and recreating the client

## version 2.9.7
## General
### Added
Expand Down
4 changes: 2 additions & 2 deletions Components/package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"name": "websdk-component-demo",
"version": "2.9.7",
"version": "2.10.0",
"private": true,
"dependencies": {
"@ant-design/icons": "^4.6.2",
"@testing-library/jest-dom": "^5.11.9",
"@testing-library/react": "^11.2.5",
"@testing-library/user-event": "^12.8.3",
"@zoomus/websdk": "2.9.7",
"@zoomus/websdk": "2.10.0",
"antd": "^4.14.1",
"classnames": "^2.2.6",
"crypto-js": "^4.0.0",
Expand Down
6 changes: 3 additions & 3 deletions Components/public/cdn.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
<meta charset="UTF-8">
<title>WebSDK Embedded CDN demo</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="https://source.zoom.us/2.9.7/lib/vendor/react.min.js"></script>
<script src="https://source.zoom.us/2.9.7/lib/vendor/react-dom.min.js"></script>
<script src="https://source.zoom.us/2.9.7/zoom-meeting-embedded-2.9.7.min.js"></script>
<script src="https://source.zoom.us/2.10.0/lib/vendor/react.min.js"></script>
<script src="https://source.zoom.us/2.10.0/lib/vendor/react-dom.min.js"></script>
<script src="https://source.zoom.us/2.10.0/zoom-meeting-embedded-2.10.0.min.js"></script>
<script src="./tools/tool.js"></script>
<script src="./tools/vconsole.min.js"></script>
<script src="./tools/token-tool.js"></script>
Expand Down
6 changes: 3 additions & 3 deletions Components/public/nav.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<head>
<title>Zoom WebSDK Embedded Demo Nav</title>
<meta charset="utf-8" />
<link type="text/css" rel="stylesheet" href="https://source.zoom.us/2.9.7/css/bootstrap.css" />
<link type="text/css" rel="stylesheet" href="https://source.zoom.us/2.9.7/css/react-select.css" />
<link type="text/css" rel="stylesheet" href="https://source.zoom.us/2.10.0/css/bootstrap.css" />
<link type="text/css" rel="stylesheet" href="https://source.zoom.us/2.10.0/css/react-select.css" />
<meta name="format-detection" content="telephone=no">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<script src="./tools/jsrsasign-all-min.js"></script>
Expand Down Expand Up @@ -66,7 +66,7 @@
<div id="navbar" class="websdktest">
<form class="navbar-form navbar-right" id="meeting_form">
<div class="form-group">
<input type="text" name="display_name" id="display_name" value="2.9.7#CDN" maxLength="100"
<input type="text" name="display_name" id="display_name" value="2.10.0#CDN" maxLength="100"
placeholder="Name" class="form-control" required>
</div>
<div class="form-group">
Expand Down
2 changes: 1 addition & 1 deletion Local/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
<div id="navbar" class="websdktest">
<form class="navbar-form navbar-right" id="meeting_form">
<div class="form-group">
<input type="text" name="display_name" id="display_name" value="2.9.7#Local" maxLength="100"
<input type="text" name="display_name" id="display_name" value="2.10.0#Local" maxLength="100"
placeholder="Name" class="form-control" required>
</div>
<div class="form-group">
Expand Down
4 changes: 2 additions & 2 deletions Local/js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ console.log("checkSystemRequirements");
console.log(JSON.stringify(ZoomMtg.checkSystemRequirements()));

// it's option if you want to change the WebSDK dependency link resources. setZoomJSLib must be run at first
// if (!china) ZoomMtg.setZoomJSLib('https://source.zoom.us/2.9.7/lib', '/av'); // CDN version default
// else ZoomMtg.setZoomJSLib('https://jssdk.zoomus.cn/2.9.7/lib', '/av'); // china cdn option
// if (!china) ZoomMtg.setZoomJSLib('https://source.zoom.us/2.10.0/lib', '/av'); // CDN version default
// else ZoomMtg.setZoomJSLib('https://jssdk.zoomus.cn/2.10.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.prepareJssdk();
Expand Down
4 changes: 2 additions & 2 deletions Local/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "http://json.schemastore.org/coffeelint",
"name": "websdk-local",
"version": "2.9.7",
"version": "2.10.0",
"description": "Zoom sample app for web client WebSDK",
"main": "index.js",
"scripts": {
Expand All @@ -18,7 +18,7 @@
"author": "Zoom Video Communications, Inc.",
"license": "SEE LICENSE IN LICENSE.md",
"dependencies": {
"@zoomus/websdk": "2.9.7",
"@zoomus/websdk": "2.10.0",
"lodash": "^4.17.14",
"react": "16.8.6",
"react-dom": "16.8.6",
Expand Down

0 comments on commit 9086bcd

Please sign in to comment.