@remotion/media 4.0.507 → 4.0.509
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/audio-extraction/audio-cache.d.ts +1 -0
- package/dist/caches.d.ts +8 -7
- package/dist/esm/index.mjs +256 -203
- package/dist/extract-frame-and-audio.d.ts +2 -2
- package/dist/get-shared-input.d.ts +2 -1
- package/dist/max-cache-size.d.ts +3 -0
- package/dist/serialized-queue.d.ts +1 -0
- package/dist/video-extraction/extract-frame-via-broadcast-channel.d.ts +2 -2
- package/dist/video-extraction/keyframe-bank.d.ts +1 -0
- package/package.json +4 -4
package/dist/caches.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getMaxVideoCacheSize } from './max-cache-size';
|
|
1
2
|
export declare const getSafeWindowOfMonotonicity: (fps: number) => number;
|
|
2
3
|
export declare const makeMediaCache: () => {
|
|
3
4
|
sinkManager: {
|
|
@@ -89,8 +90,8 @@ export declare const makeMediaCache: () => {
|
|
|
89
90
|
totalSize: number;
|
|
90
91
|
};
|
|
91
92
|
isDisposed: () => boolean;
|
|
92
|
-
queueFrameExtraction: <T>(
|
|
93
|
-
queueAudioExtraction: <T>(
|
|
93
|
+
queueFrameExtraction: <T>(fn: () => T | Promise<T>) => Promise<T>;
|
|
94
|
+
queueAudioExtraction: <T>(fn: () => T | Promise<T>) => Promise<T>;
|
|
94
95
|
dispose: (logLevel: "error" | "info" | "trace" | "verbose" | "warn") => void;
|
|
95
96
|
};
|
|
96
97
|
export type MediaCache = ReturnType<typeof makeMediaCache>;
|
|
@@ -184,8 +185,8 @@ export declare const globalMediaCache: {
|
|
|
184
185
|
totalSize: number;
|
|
185
186
|
};
|
|
186
187
|
isDisposed: () => boolean;
|
|
187
|
-
queueFrameExtraction: <T>(
|
|
188
|
-
queueAudioExtraction: <T>(
|
|
188
|
+
queueFrameExtraction: <T>(fn: () => T | Promise<T>) => Promise<T>;
|
|
189
|
+
queueAudioExtraction: <T>(fn: () => T | Promise<T>) => Promise<T>;
|
|
189
190
|
dispose: (logLevel: "error" | "info" | "trace" | "verbose" | "warn") => void;
|
|
190
191
|
};
|
|
191
192
|
export declare const keyframeManager: {
|
|
@@ -351,9 +352,9 @@ export declare const useRenderMediaCache: (logLevel: "error" | "info" | "trace"
|
|
|
351
352
|
totalSize: number;
|
|
352
353
|
};
|
|
353
354
|
isDisposed: () => boolean;
|
|
354
|
-
queueFrameExtraction: <T>(
|
|
355
|
-
queueAudioExtraction: <T>(
|
|
355
|
+
queueFrameExtraction: <T>(fn: () => T | Promise<T>) => Promise<T>;
|
|
356
|
+
queueAudioExtraction: <T>(fn: () => T | Promise<T>) => Promise<T>;
|
|
356
357
|
dispose: (logLevel: "error" | "info" | "trace" | "verbose" | "warn") => void;
|
|
357
358
|
};
|
|
358
|
-
export
|
|
359
|
+
export { getMaxVideoCacheSize };
|
|
359
360
|
export declare const useMaxMediaCacheSize: (logLevel: "error" | "info" | "trace" | "verbose" | "warn") => number;
|