@rendley/sdk 1.4.3 → 1.5.0

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 CHANGED
@@ -18,11 +18,11 @@ interface EngineLicense {
18
18
  licenseName: string;
19
19
  licenseKey: string;
20
20
  }
21
- interface ExportResult {
21
+ export interface ExportResult {
22
22
  blob: Blob;
23
- extension: "aac" | "mp4";
23
+ extension: "aac" | "ogg" | "mp4" | "webm";
24
24
  }
25
- interface ExportOptions {
25
+ export interface ExportOptions {
26
26
  type?: ExportVideoType;
27
27
  from?: number;
28
28
  to?: number;
@@ -139,31 +139,40 @@ export declare class Engine {
139
139
  highlightAnimation: import("./modules/subtitleManager").HighlightAnimationEnum;
140
140
  highlightAnimationSpeed: number;
141
141
  mainTextStyle: {
142
- fontSize?: number | undefined;
143
- color?: string | undefined;
144
- fontWeight?: "normal" | "bold" | "bolder" | "lighter" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | undefined;
145
- fontFamily?: string | undefined;
146
- fontStyle?: "normal" | "italic" | "oblique" | undefined;
147
- wordWrapWidth?: number | null | undefined;
148
- strokeThickness?: number | undefined;
149
- strokeColor?: string | undefined;
142
+ color: string;
143
+ strokeColor: string;
144
+ fontSize: number;
145
+ fontWeight: "normal" | "bold" | "bolder" | "lighter" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900";
146
+ fontFamily: string;
147
+ fontStyle: "normal" | "italic" | "oblique";
148
+ backgroundColor: string;
149
+ wordWrapWidth: number;
150
+ padding: number;
151
+ strokeThickness: number;
152
+ wordWrap: boolean;
153
+ backgroundPadding: number;
154
+ backgroundCornerRadius: number;
155
+ leading: number;
150
156
  };
151
157
  highlightTextStyle: {
152
- color?: string | undefined;
153
- fontSize?: number | undefined;
154
- fontWeight?: "normal" | "bold" | "bolder" | "lighter" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | undefined;
155
- fontFamily?: string | undefined;
156
- fontStyle?: "normal" | "italic" | "oblique" | undefined;
157
- backgroundColor?: string | undefined;
158
- backgroundPadding?: number | undefined;
159
- strokeThickness?: number | undefined;
160
- strokeColor?: string | undefined;
158
+ color: string;
159
+ strokeColor: string;
160
+ fontSize: number;
161
+ fontWeight: "normal" | "bold" | "bolder" | "lighter" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900";
162
+ fontFamily: string;
163
+ fontStyle: "normal" | "italic" | "oblique";
164
+ backgroundColor: string;
165
+ padding: number;
166
+ strokeThickness: number;
167
+ backgroundPadding: number;
168
+ backgroundCornerRadius: number;
161
169
  };
162
170
  } | undefined;
163
171
  settings?: {
164
- preferredDecodingAcceleration: import("./modules/settings").PreferredAcceleration;
165
- preferredEncodingAcceleration: import("./modules/settings").PreferredAcceleration;
172
+ decoderPreferredAcceleration: import("./modules/settings").PreferredAcceleration;
173
+ encoderPreferredAcceleration: import("./modules/settings").PreferredAcceleration;
166
174
  m3u8MaxResolution: [number, number];
175
+ showRenderPreview: boolean;
167
176
  } | undefined;
168
177
  };
169
178
  static deserialize(data: object): Promise<Engine | undefined>;