Skip to content

Commit

Permalink
Merge pull request #55 from zoom/1.12.0
Browse files Browse the repository at this point in the history
1.12.0 update
  • Loading branch information
endazoom authored Aug 7, 2024
2 parents 5b79bd5 + 176124e commit d45e672
Show file tree
Hide file tree
Showing 41 changed files with 139 additions and 94 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.
6 changes: 3 additions & 3 deletions dist/lib/audio_simd.min.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions dist/lib/js_audio_level_worklet_process.min.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions dist/lib/js_audio_process.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/lib/js_audio_worklet.min.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions dist/lib/js_audio_worklet_process.min.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions dist/lib/js_audio_worklet_simd.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/lib/js_media.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/lib/js_sharing_audio_worklet.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/lib/qrscanner.min.js

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions dist/lib/sharing_m.min.js

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions dist/lib/sharing_mtsimd.min.js

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions dist/lib/sharing_s.min.js

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions dist/lib/sharing_simd.min.js

Large diffs are not rendered by default.

Binary file modified dist/lib/vb-resource/dualModel.bin
Binary file not shown.
4 changes: 2 additions & 2 deletions dist/lib/vb.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/lib/vb_worker.min.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dist/lib/vendors~wmsc.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.
2 changes: 1 addition & 1 deletion dist/lib/video.mtsimd.js

Large diffs are not rendered by default.

Binary file modified dist/lib/video.mtsimd.wasm
Binary file not shown.
2 changes: 1 addition & 1 deletion dist/lib/video.simd.js

Large diffs are not rendered by default.

Binary file modified dist/lib/video.simd.wasm
Binary file not shown.
8 changes: 4 additions & 4 deletions dist/lib/video_m.min.js

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions dist/lib/video_mtsimd.min.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions dist/lib/video_s.min.js

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions dist/lib/video_share_mtsimd.min.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions dist/lib/video_simd.min.js

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions dist/lib/wmsc-vendors.min.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dist/lib/wmsc.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions dist/types/event-callback.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -667,6 +667,7 @@ export declare function event_individual_recording_change(payload: {

/**
* Occurs when adding or removing the microphone, speaker, or camera.
* Chrome browser on Android devices does not trigger the `device-change` event when the headset is plugged in or unplugged. See browser compatibility: https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/devicechange_event#browser_compatibility.
* @event
* @category Media
*/
Expand Down Expand Up @@ -1847,3 +1848,12 @@ export declare function event_current_audio_level_change(payload: {
*/
level: number;
}): void;

/**
* Occurs when there is a media internal error, such as an unexpected interruption in media capture or insufficient memory.
* When receiving this event, we recommend refreshing the page or restarting the browser to resolve the issue.
* Since the user must do this, we recommend that you provide a popup to guide the user, such as 'We detected an issue with the media stream that we cannot resolve. Please refresh the page to try to fix it.' With two buttons: 'Refresh' and 'Cancel'.
*
* @category Media
*/
export declare function event_media_internal_error(): void;
48 changes: 32 additions & 16 deletions dist/types/live-transcription.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,6 @@ export enum LiveTranscriptionLanguageCode {
* Arabic
*/
Arabic = 14,
/**
* Bengali
*/
Bengali = 15,
/**
* Chinese (Traditional)'
*/
Expand All @@ -105,10 +101,6 @@ export enum LiveTranscriptionLanguageCode {
* Finnish
*/
Finnish = 19,
/**
* Greek
*/
Greek = 20,
/**
* Hebrew
*/
Expand Down Expand Up @@ -161,6 +153,22 @@ export enum LiveTranscriptionLanguageCode {
* Turkish
*/
Turkish = 33,
/**
* French (Canada)
*/
'French (Canada)' = 34,
/**
* Danish
*/
Danish = 35,
/**
* Thai
*/
Thai = 37,
/**
* Cantonese
*/
Cantonese = 44,
/**
* No translation.
*/
Expand Down Expand Up @@ -235,10 +243,6 @@ export enum LiveTranscriptionLanguage {
* Arabic
*/
Arabic = 'ar',
/**
* Bengali
*/
Bengali = 'bn',
/**
* Chinese (Traditional)
*/
Expand All @@ -255,10 +259,6 @@ export enum LiveTranscriptionLanguage {
* Finnish
*/
Finnish = 'fi',
/**
* Greek
*/
Greek = 'el',
/**
* Hebrew
*/
Expand Down Expand Up @@ -311,6 +311,22 @@ export enum LiveTranscriptionLanguage {
* Turkish
*/
Turkish = 'tr',
/**
* French (Canada)
*/
'French (Canada)' = 'fr-ca',
/**
* Danish
*/
Danish = 'da',
/**
* Thai
*/
Thai = 'th',
/**
* Cantonese
*/
Cantonese = 'zh-yue',
}
/**
* Live transcription message.
Expand Down
13 changes: 8 additions & 5 deletions dist/types/media.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1094,7 +1094,7 @@ export declare namespace Stream {

/**
* Mute all users' audio
* - Only the **host** or **manager** has the permission.
* - Only the **host** or **manager** can do this.
*
* ```javascript
* // host side
Expand All @@ -1112,7 +1112,7 @@ export declare namespace Stream {
function muteAllAudio(): ExecutedResult;
/**
* Unmute all users' audio
* - Only the **host** or **manager** has the permission.
* - Only the **host** or **manager** can do this.
* - 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.
Expand Down Expand Up @@ -1725,7 +1725,7 @@ export declare namespace Stream {
function getReceivedVideoDimension(): { height: number; width: number };

/**
* Determines whether the browser can support multiple videos.
* Determines whether the browser can support multiple videos. If this returns false, we recommend that you render self-view in a separate video-player-container.
* @returns Whether the current platform supports multiple videos.
* @category Video
*/
Expand Down Expand Up @@ -2223,14 +2223,17 @@ export declare namespace Stream {
* > ***Note***: Due to browser capability limitations, the controlled user must download and install a remote control app to enable remote control.
* > If the app is installed, we will try to launch it automatically right after the controlled user approves the request for remote control.
* @param userId userId
*
* @param runAsAdmin runAsAdmin optional. For Windows only: If set, enable the Remote Control App control of all applications.
* @returns
* - `''`: Success
* - `Error`: Failure. Details in {@link ErrorTypes}.
*
* @category RemoteControl
*/
function approveRemoteControl(userId: number): ExecutedResult;
function approveRemoteControl(
userId: number,
runAsAdmin?: boolean,
): ExecutedResult;
/**
* The controlled user declines the remote control request
* @param userId userId
Expand Down
8 changes: 5 additions & 3 deletions dist/types/preview.d.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import { MobileVideoFacingMode } from './common';

/**
* Interface for test speaker options.
*/
Expand Down Expand Up @@ -117,10 +119,10 @@ export interface LocalVideoTrack {
*/
stop(): Promise<void | Error>;
/**
* Switch microphone.
* @param deviceId The ID of the microphone to switch to.
* Switch camera.
* @param deviceId The ID of the camera to switch to or on mobile platform, using facingMode instead.
*/
switchCamera(deviceId: string): Promise<void | Error>;
switchCamera(deviceId: string | MobileVideoFacingMode): Promise<void | Error>;
/**
* Update the preview virtual background image.
* @param imageUrl Image URL for the virtual background.
Expand Down
10 changes: 10 additions & 0 deletions dist/types/videoclient.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ import {
event_subsession_broadcast_voice,
event_subsession_invite_to_back_to_main_session,
event_current_audio_level_change,
event_media_internal_error,
} from './event-callback';
// import AIClient from '../src/summary';

Expand Down Expand Up @@ -849,6 +850,15 @@ export declare namespace VideoClient {
event: 'current-audio-level-change',
listener: typeof event_current_audio_level_change,
): void;
/**
*
* @param event
* @param listener Details in {@link event_media_internal_error}
*/
function on(
event: 'active-media-failed',
listener: typeof event_media_internal_error,
): void;
/**
* Removes the event handler.
* @param event Event name.
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.10",
"version": "1.12.0",
"description": "Zoom Web Video SDK",
"main": "dist/index.js",
"module": "dist/index.esm.js",
Expand Down

0 comments on commit d45e672

Please sign in to comment.