Skip to content

Commit

Permalink
Merge pull request #53 from zoom/1.11.10
Browse files Browse the repository at this point in the history
1.11.10 update
  • Loading branch information
endazoom authored Jun 21, 2024
2 parents 3e38e06 + 76bcc2d commit 5b79bd5
Show file tree
Hide file tree
Showing 12 changed files with 36 additions and 8 deletions.
2 changes: 1 addition & 1 deletion dist/index.esm.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/index.umd.js

Large diffs are not rendered by default.

Binary file modified dist/lib/audio.encode.wasm
Binary file not shown.
Binary file modified dist/lib/audio.simd.wasm
Binary file not shown.
4 changes: 2 additions & 2 deletions dist/lib/js_media.min.js

Large diffs are not rendered by default.

Binary file modified dist/lib/video.decode.wasm
Binary file not shown.
Binary file modified dist/lib/video.mt.wasm
Binary file not shown.
Binary file modified dist/lib/video.mtsimd.wasm
Binary file not shown.
Binary file modified dist/lib/video.simd.wasm
Binary file not shown.
32 changes: 30 additions & 2 deletions dist/types/media.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ interface AudioOption {
mute?: boolean;
/**
* Suppress some kinds of background noise (e.g. dog barking,lawn mower,clapping, fans, pen tapping).
* > ***Note***: Enabling this option may increase CPU utilization. It's only supported on Chromium-like browsers with SharedArrayBuffer enabled.
* > ***Note***: Enabling this option may increase CPU utilization.
*/
backgroundNoiseSuppression?: boolean;
/**
Expand Down Expand Up @@ -997,7 +997,7 @@ export declare namespace Stream {
): ExecutedResult;
/**
* Enables or disables background suppression.
* > ***Note***: Enabling this option may increase CPU utilization. It's only supported on Chromium-like browsers with SharedArrayBuffer enabled.
* > ***Note***: Enabling this option may increase CPU utilization.
* @param enabled enabled
*
* @category Audio
Expand Down Expand Up @@ -1091,6 +1091,34 @@ export declare namespace Stream {
* @category Audio
*/
function stopSecondaryAudio(): ExecutedResult;

/**
* Mute all users' audio
* - Only the **host** or **manager** has the permission.
*
* ```javascript
* // host side
* await stream.muteAllAudio();
* // other user side
* client.on('current-audio-change',payload=>{
* if(payload.action==='muted' && payload.source==='passive(mute all)'){
* console.log('host muted all');
* }
* })
* ```
* @returns executed promise.
* @category Audio
*/
function muteAllAudio(): ExecutedResult;
/**
* Unmute all users' audio
* - Only the **host** or **manager** has the permission.
* - For privacy and security concerns, the host can not unmute the participant's audio directly, instead, the participant will receive an unmute audio consent message.
*
* @returns executed promise.
* @category Audio
*/
function unmuteAllAudio(): ExecutedResult;
/**
* Determines whether the user is muted.
* - If the user ID is not specified, gets the muted status of the current user.
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": "@zoom/videosdk",
"version": "1.11.6",
"version": "1.11.10",
"description": "Zoom Web Video SDK",
"main": "dist/index.js",
"module": "dist/index.esm.js",
Expand Down

0 comments on commit 5b79bd5

Please sign in to comment.