@rendley/sdk 1.9.3 → 1.9.6
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/dist/Engine.d.ts +9 -4
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -1
- package/dist/modules/clip/Clip.d.ts +62 -62
- package/dist/modules/clip/clips/audio/AudioClip.d.ts +5 -5
- package/dist/modules/clip/clips/custom/CustomClip.d.ts +4 -4
- package/dist/modules/clip/clips/htmlText/HtmlTextClip.d.ts +5 -5
- package/dist/modules/clip/clips/lottie/LottieClip.d.ts +5 -5
- package/dist/modules/clip/clips/shape/ShapeClip.d.ts +5 -5
- package/dist/modules/clip/clips/shape/ShapeStyle.d.ts +8 -8
- package/dist/modules/clip/clips/text/TextClip.d.ts +5 -5
- package/dist/modules/clip/clips/text/TextStyle.d.ts +8 -8
- package/dist/modules/clip/clips/video/VideoClip.d.ts +5 -5
- package/dist/modules/display/Display.d.ts +3 -3
- package/dist/modules/ffmpeg/FFmpeg.d.ts +4 -0
- package/dist/modules/layer/Layer.d.ts +5 -5
- package/dist/modules/library/Library.d.ts +5 -5
- package/dist/modules/library/MediaData.d.ts +7 -4
- package/dist/modules/library/types/MediaData.types.d.ts +1 -0
- package/dist/modules/renderer/Renderer.d.ts +1 -0
- package/dist/modules/settings/Settings.d.ts +7 -0
- package/dist/modules/subtitles/SubtitleManager.d.ts +1 -1
- package/dist/modules/timeline/Timeline.d.ts +7 -7
- package/dist/modules/transcode/ITranscodeProvider.d.ts +36 -0
- package/dist/modules/transcode/index.d.ts +1 -1
- package/dist/modules/transition/Transition.d.ts +3 -3
- package/dist/utils/animation/animation.d.ts +12 -12
- package/dist/utils/timer/performanceTimer.d.ts +17 -0
- package/package.json +2 -1
- package/dist/modules/transcode/TranscodeProviderBase.d.ts +0 -33
package/dist/Engine.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ import { StorageProviderBase } from "./modules/storage";
|
|
|
9
9
|
import { StorageController } from "./modules/storage/StorageController";
|
|
10
10
|
import { SubtitlesManager } from "./modules/subtitles";
|
|
11
11
|
import { Timeline } from "./modules/timeline/Timeline";
|
|
12
|
+
import { ITranscodeProvider } from "./modules/transcode/ITranscodeProvider";
|
|
12
13
|
import { UndoManager } from "./modules/undo/UndoManager";
|
|
13
14
|
export declare enum ExportVideoType {
|
|
14
15
|
VIDEO_ONLY = "video_only",
|
|
@@ -37,6 +38,7 @@ export interface EngineOptions {
|
|
|
37
38
|
display?: DisplayOptions;
|
|
38
39
|
license?: EngineLicense;
|
|
39
40
|
storages?: StorageProviderBase[];
|
|
41
|
+
transcoder?: ITranscodeProvider;
|
|
40
42
|
ffmpeg?: FFmpegOptions;
|
|
41
43
|
}
|
|
42
44
|
type CustomClipConstructor<T extends CustomClip = CustomClip> = {
|
|
@@ -56,6 +58,7 @@ export declare class Engine {
|
|
|
56
58
|
private subtitlesManager;
|
|
57
59
|
private readonly undoManager;
|
|
58
60
|
private readonly storageController;
|
|
61
|
+
private transcoder;
|
|
59
62
|
private settings;
|
|
60
63
|
readonly events: EventEmitter;
|
|
61
64
|
private initialized;
|
|
@@ -81,6 +84,7 @@ export declare class Engine {
|
|
|
81
84
|
getUndoManager(): UndoManager;
|
|
82
85
|
getSubtitlesManager(): SubtitlesManager;
|
|
83
86
|
getStorageController(): StorageController;
|
|
87
|
+
getTranscoder(): ITranscodeProvider | null;
|
|
84
88
|
isInitialized(): boolean;
|
|
85
89
|
isRendering(): boolean;
|
|
86
90
|
export(payload?: ExportOptions): Promise<ExportResult | null>;
|
|
@@ -102,8 +106,8 @@ export declare class Engine {
|
|
|
102
106
|
hasCustomClipType(typeEnum: string): boolean;
|
|
103
107
|
serialize(): {
|
|
104
108
|
display: {
|
|
105
|
-
height: number;
|
|
106
109
|
width: number;
|
|
110
|
+
height: number;
|
|
107
111
|
backgroundColor: string;
|
|
108
112
|
};
|
|
109
113
|
timeline: {
|
|
@@ -113,8 +117,8 @@ export declare class Engine {
|
|
|
113
117
|
id: string;
|
|
114
118
|
transitions: {
|
|
115
119
|
name: string;
|
|
116
|
-
type: "transition";
|
|
117
120
|
id: string;
|
|
121
|
+
type: "transition";
|
|
118
122
|
startClipId: string;
|
|
119
123
|
endClipId: string;
|
|
120
124
|
inDuration: number;
|
|
@@ -140,8 +144,8 @@ export declare class Engine {
|
|
|
140
144
|
}[];
|
|
141
145
|
}[];
|
|
142
146
|
media: {
|
|
143
|
-
type: string;
|
|
144
147
|
id: string;
|
|
148
|
+
type: string;
|
|
145
149
|
filename: string;
|
|
146
150
|
permanentUrl?: string | undefined;
|
|
147
151
|
hash?: string | undefined;
|
|
@@ -195,6 +199,7 @@ export declare class Engine {
|
|
|
195
199
|
renderShowPreview: boolean;
|
|
196
200
|
renderMaxQueueSize: number;
|
|
197
201
|
renderThrottleFactor: number;
|
|
202
|
+
renderAudioUseWorker: boolean;
|
|
198
203
|
encoderCodec: VideoCodec;
|
|
199
204
|
encoderUseWebCodecs: boolean;
|
|
200
205
|
encoderUseAlpha: boolean;
|
|
@@ -210,6 +215,6 @@ export declare class Engine {
|
|
|
210
215
|
} | undefined;
|
|
211
216
|
};
|
|
212
217
|
private static _deserializationPromiseAction;
|
|
213
|
-
static deserialize(data: object): Promise<void | Engine>;
|
|
218
|
+
static deserialize(data: object): Promise<void | Engine | undefined>;
|
|
214
219
|
}
|
|
215
220
|
export {};
|