yjz-web-sdk 1.0.9-beta.1 → 1.0.9-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/util/WasmUtil.d.ts +9 -3
- package/lib/worker/worker.d.ts +1 -0
- package/lib/yjz-web-sdk.js +140 -28
- package/package.json +3 -3
- package/lib/yjz-web-sdk.umd.cjs +0 -981
package/lib/util/WasmUtil.d.ts
CHANGED
|
@@ -9,8 +9,14 @@ export declare enum VideoCodecType {
|
|
|
9
9
|
}
|
|
10
10
|
export declare function isDecoderSupported(codec: VideoCodecType): Promise<boolean>;
|
|
11
11
|
export declare function isEncoderSupported(codec: VideoCodecType): Promise<boolean>;
|
|
12
|
-
export declare const
|
|
13
|
-
export declare const isWebGPUSupported: () => boolean;
|
|
14
|
-
export declare const isWebGLSupported: (canvas?: HTMLCanvasElement) => boolean;
|
|
12
|
+
export declare const isWebGPUSupported: () => Promise<boolean>;
|
|
15
13
|
export declare const isWebGL2Supported: (canvas?: HTMLCanvasElement) => boolean;
|
|
14
|
+
export declare const isWebGL1Supported: (canvas?: HTMLCanvasElement) => boolean;
|
|
16
15
|
export declare const isCanvas2DSupported: (canvas?: HTMLCanvasElement) => boolean;
|
|
16
|
+
export declare const detectRenderingCapabilities: () => Promise<{
|
|
17
|
+
webgpu: boolean;
|
|
18
|
+
webgl2: boolean;
|
|
19
|
+
webgl1: boolean;
|
|
20
|
+
canvas2d: boolean;
|
|
21
|
+
best: string;
|
|
22
|
+
}>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|