@rendley/sdk 1.11.14 → 1.11.16

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
@@ -1,11 +1,12 @@
1
1
  import * as PIXI from "pixi.js";
2
+ import { z } from "zod";
2
3
  import { BackgroundTimer } from "./modules/background-timer/background-timer";
3
4
  import { CustomClip } from "./modules/clip/clips/custom/CustomClip";
4
5
  import { Display, DisplayOptions } from "./modules/display/Display";
5
6
  import { EventEmitter } from "./modules/event-emitter";
6
7
  import { FontRegistry } from "./modules/font-registry";
7
8
  import { Library, LibrarySetupData } from "./modules/library";
8
- import { Settings, VideoCodec } from "./modules/settings";
9
+ import { Settings, SettingsSchema, VideoCodec } from "./modules/settings";
9
10
  import { StorageProviderBase } from "./modules/storage";
10
11
  import { StorageController } from "./modules/storage/StorageController";
11
12
  import { SubtitlesManager } from "./modules/subtitles";
@@ -42,6 +43,7 @@ export interface EngineOptions {
42
43
  transcoder?: ITranscodeProvider;
43
44
  ffmpeg?: FFmpegOptions;
44
45
  enableUndoRedo?: boolean;
46
+ forcedSettings?: Partial<z.infer<typeof SettingsSchema>>;
45
47
  onSetupLibrary?: (data: LibrarySetupData) => Promise<void>;
46
48
  }
47
49
  type CustomClipConstructor<T extends CustomClip = CustomClip> = {
@@ -72,6 +74,7 @@ export declare class Engine {
72
74
  private createdAt;
73
75
  private onSetupLibrary?;
74
76
  private initOptions;
77
+ private forcedSettings?;
75
78
  private ready;
76
79
  private readonly renderer;
77
80
  private readonly backgroundTimer;
@@ -257,6 +260,10 @@ export declare class Engine {
257
260
  } | undefined;
258
261
  settings?: {
259
262
  m3u8MaxResolution: [number, number];
263
+ clipAudioStoreSamples: boolean;
264
+ clipAudioSampleRate: number;
265
+ clipAudioSampleForceMono: boolean;
266
+ clipVideoStoreSamples: boolean;
260
267
  renderShowPreview: boolean;
261
268
  renderMaxQueueSize: number;
262
269
  renderThrottleFactor: number;