@rendley/sdk 1.4.2 → 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;
@@ -132,37 +132,47 @@ export declare class Engine {
132
132
  customData?: [string, unknown][] | undefined;
133
133
  }[];
134
134
  };
135
- subtitlesManager: {
135
+ version?: string | undefined;
136
+ projectId?: string | undefined;
137
+ subtitlesManager?: {
136
138
  textMode: "full" | "partial";
137
139
  highlightAnimation: import("./modules/subtitleManager").HighlightAnimationEnum;
138
140
  highlightAnimationSpeed: number;
139
141
  mainTextStyle: {
140
- fontSize?: number | undefined;
141
- color?: string | undefined;
142
- fontWeight?: "normal" | "bold" | "bolder" | "lighter" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | undefined;
143
- fontFamily?: string | undefined;
144
- fontStyle?: "normal" | "italic" | "oblique" | undefined;
145
- wordWrapWidth?: number | null | undefined;
146
- strokeThickness?: number | undefined;
147
- 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;
148
156
  };
149
157
  highlightTextStyle: {
150
- color?: string | undefined;
151
- fontSize?: number | undefined;
152
- fontWeight?: "normal" | "bold" | "bolder" | "lighter" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | undefined;
153
- fontFamily?: string | undefined;
154
- fontStyle?: "normal" | "italic" | "oblique" | undefined;
155
- backgroundColor?: string | undefined;
156
- backgroundPadding?: number | undefined;
157
- strokeThickness?: number | undefined;
158
- 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;
159
169
  };
160
- };
161
- version?: string | undefined;
162
- projectId?: string | undefined;
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;
174
+ m3u8MaxResolution: [number, number];
175
+ showRenderPreview: boolean;
166
176
  } | undefined;
167
177
  };
168
178
  static deserialize(data: object): Promise<Engine | undefined>;