@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 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;