@rendley/sdk 1.9.6 → 1.9.8
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/README.md +0 -9
- package/dist/Engine.d.ts +3 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/libs/ffmpeg/classes.d.ts +2 -1
- package/dist/libs/ffmpeg/const.d.ts +1 -0
- package/dist/libs/ffmpeg/types.d.ts +6 -1
- package/dist/modules/clip/ClipStyle.d.ts +3 -3
- package/dist/modules/clip/clips/index.d.ts +1 -0
- package/dist/modules/clip/clips/shape/ShapeClip.d.ts +5 -9
- package/dist/modules/clip/clips/shape/ShapeSprite.d.ts +3 -9
- package/dist/modules/clip/clips/shape/ShapeStyle.d.ts +58 -9
- package/dist/modules/clip/clips/shape/types/Shape.types.d.ts +7 -0
- package/dist/modules/clip/clips/text/TextStyle.d.ts +8 -8
- package/dist/modules/library/MediaData.d.ts +1 -0
- package/dist/modules/undo/UndoManager.types.d.ts +51 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -6,15 +6,6 @@ To achieve maximum performance, we leverage WebGL for rendering and WebCodecs AP
|
|
|
6
6
|
|
|
7
7
|
## Installation
|
|
8
8
|
|
|
9
|
-
### Prerequisites
|
|
10
|
-
|
|
11
|
-
To use Rendley SDK, ensure that your website includes the following headers to enable [SharedArrayBuffer](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SharedArrayBuffer) functionality:
|
|
12
|
-
|
|
13
|
-
```
|
|
14
|
-
Cross-Origin-Embedder-Policy: credentialless
|
|
15
|
-
Cross-Origin-Opener-Policy: same-origin
|
|
16
|
-
```
|
|
17
|
-
|
|
18
9
|
### Using the NPM Registry
|
|
19
10
|
|
|
20
11
|
The installation process is straightforward. Simply run one of the followin
|
package/dist/Engine.d.ts
CHANGED
|
@@ -51,6 +51,7 @@ export declare class Engine {
|
|
|
51
51
|
private static queuedDeserializeData;
|
|
52
52
|
private static isDeserializing;
|
|
53
53
|
private static deserializationPromise?;
|
|
54
|
+
private static safariHackAudioContext?;
|
|
54
55
|
private display;
|
|
55
56
|
private timeline;
|
|
56
57
|
private library;
|
|
@@ -71,6 +72,7 @@ export declare class Engine {
|
|
|
71
72
|
static getInstance(): Engine;
|
|
72
73
|
hasInstance(): boolean;
|
|
73
74
|
getFFmpeg(): import("./libs/ffmpeg").FFmpeg;
|
|
75
|
+
private checkSafariAudioHack;
|
|
74
76
|
init(options: EngineOptions): Promise<void>;
|
|
75
77
|
private getLicenseCredentials;
|
|
76
78
|
destroy(everything?: boolean): Promise<void>;
|
|
@@ -92,6 +94,7 @@ export declare class Engine {
|
|
|
92
94
|
pause(): Promise<void>;
|
|
93
95
|
stop(): Promise<void>;
|
|
94
96
|
seek(value: number): Promise<void>;
|
|
97
|
+
static getSDKVersion(): string;
|
|
95
98
|
getRenderer(): import("./modules/display/renderer/PixiRenderer").PixiRenderer;
|
|
96
99
|
getRendererStage(): PIXI.Container<PIXI.DisplayObject> | null;
|
|
97
100
|
getClipById(clipId: string): import(".").Clip<PIXI.Sprite, import(".").ClipStyle<PIXI.Sprite>> | undefined;
|