8000 2.1.0 update by endazoom · Pull Request #63 · zoom/videosdk-web · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

2.1.0 update #63

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.

1 change: 0 additions & 1 deletion dist/lib/0.min.js

This file was deleted.

12 changes: 10 additions & 2 deletions dist/lib/annoter.min.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/audio_simd.min.js

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

4 changes: 2 additions & 2 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.

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

Large diffs are not rendered by default.

4 changes: 2 additions & 2 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.

2 changes: 2 additions & 0 deletions dist/lib/net_thread.min.js

F438 Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/lib/pako.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.

2 changes: 2 additions & 0 deletions dist/lib/tp.min.js

Large diffs are not rendered by default.

Binary file added dist/lib/tp.wasm
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.

10 changes: 0 additions & 10 deletions dist/lib/vendors~annoter.min.js

This file was deleted.

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

This file was deleted.

Binary file modified dist/lib/video.decode.wasm
Binary file not shown.
A377 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.

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

Large diffs are not rendered by default.

62 changes: 62 additions & 0 deletions dist/types/common.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -641,3 +641,65 @@ export enum CRCProtocol {
*/
SIP = 2,
}

/**
* Active media failed error code
*/
export enum ActiveMediaFailedCode {
/**
* Failed to establish the audio data channel.
*/
AudioConnectionFailed = 101,
/**
* Audio track ended.
*/
AudioStreamEnded = 102,
/**
* Microphone permission denied.
*/
MicrophonePermissionReset = 103,
/**
* Failed to get audio data from the stream.
*/
AudioStreamFailed = 104,
/**
* Microphone muted in the system.
*/
MicrophoneMuted = 105,
/**
* Sent audio playback was interrupted.
*/
AudioStreamMuted = 106,
/**
* Remote audio playback was interrupted.
*/
AudioPlaybackInterrupted = 107,
/**
* Failed to establish the video data channel.
*/
VideoConnectionFailed = 201,
/**
* Video track ended.
*/
VideoStreamEnded = 202,
/**
* Camera permission denied.
*/
CameraPermissionReset = 203,
/**
* Web GL context invalid.
*/
WebGlContextInvalid = 204,
/**
* Out of memory
*/
WasmOutOfMemory = 205,
/**
* Failed to get video data from the stream.
*/
VideoStreamFailed = 206,
/**
* Failed to get sharing data from the stream.
*/
SharingStreamFailed = 301,
}
16 changes: 15 additions & 1 deletion dist/types/event-callback.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import {
LeaveAudioSource,
CRCReturnCode,
CRCProtocol,
ActiveMediaFailedCode,
} from './common';
import { LiveTranscriptionMessage } from './live-transcription';
import { LiveStreamStatus } from './live-stream';
Expand Down Expand Up @@ -1873,7 +1874,20 @@ export declare function event_current_audio_level_change(payload: {
* @event
* @category Media
*/
export declare function event_active_media_failed(): void;
export declare function event_active_media_failed(payload: {
/**
* Code
*/
code: ActiveMediaFailedCode;
/**
* Message
*/
message: string;
/**
* Type
*/
type: 'audio' | 'video' | 'sharing';
}): void;
/**
* Occurs when the host or manager spotlights a user.
* ```javascript
Expand Down
9 changes: 6 additions & 3 deletions dist/types/media.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ export interface CaptureVideoOption {
*/
mirrored?: boolean;
/**
* @deprecated
* @deprecated 2.0.0
* > **Note** will be removed in 2.x version, please use `stream.attachVideo` to render self-view directly.
* Video element. Only used in Android platform or non-SharedArrayBuffer Chromium-like browsers.
*/
Expand Down Expand Up @@ -1288,6 +1288,7 @@ export declare namespace Stream {
): ExecutedResult;

/**
* @deprecated Use the {@link attachVideo} method instead.
*
* Starts rendering video.
*
Expand Down Expand Up @@ -1333,6 +1334,8 @@ export declare namespace Stream {
): Promise<'' | Error>;

/**
* @deprecated Use the {@link detachVideo} method instead.
*
* Stops rendering the video.
*
*
Expand Down Expand Up @@ -1447,7 +1450,7 @@ export declare namespace Stream {
): Promise<boolean>;
/**
* Previews the virtual background. If the video is on, preview virtual background applies to the current video.
* @param canvas
* @param previewDOMElement
* @param imageUrl Virtual background image.
* @param cropped Cropped to 16/9 aspect ratio. Default is false.
* @param cameraId cameraId, default is active camera
Expand All @@ -1458,7 +1461,7 @@ export declare namespace Stream {
* @category Video
*/
function previewVirtualBackground(
canvas: HTMLCanvasElement,
previewDOMElement: VideoPlayer | HTMLCanvasElement,
imageUrl: string | 'blur' | undefined,
cropped?: boolean,
cameraId?: string,
Expand Down
8 changes: 4 additions & 4 deletions dist/types/preview.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { MobileVideoFacingMode } from './common';
import { MobileVideoFacingMode, VideoPlayer } from './common';

/**
* Interface for test speaker options.
Expand Down Expand Up @@ -93,13 +93,13 @@ interface TestMicrophoneReturn {
*/
export interface LocalVideoTrack {
/**
* Starts local video capture and plays it back in a video DOM element.
* Starts local video capture and plays it back.
*
* @param videoDOMElement Video DOM element that will contain the video playback. Canvas Element will contain the video with virtual background.
* @param previewDOMElement Video DOM element that will contain the video playback. Canvas and VideoPlayer Element will contain the video with virtual background. we recommend you use the VideoPlayer Element.
* @param virtualBackground virtual background setting
*/
start(
videoDOMElement: HTMLVideoElement | HTMLCanvasElement,
previewDOMElement: VideoPlayer | HTMLVideoElement | HTMLCanvasElement,
virtualBackground?: {
/**
* Image URL for the virtual background.
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.12.14",
"version": "2.1.0",
"description": "Zoom Web Video SDK",
"main": "dist/index.js",
"module": "dist/index.esm.js",
Expand Down
0