@remotion/renderer 4.0.508 → 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/client.d.ts +16 -0
- package/dist/esm/client.mjs +602 -564
- package/dist/options/experimental-keep-audio-context-alive.d.ts +16 -0
- package/dist/options/experimental-keep-audio-context-alive.js +32 -0
- package/dist/options/index.d.ts +16 -0
- package/dist/options/index.js +2 -0
- package/package.json +13 -13
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare const experimentalKeepAudioContextAliveOption: {
|
|
2
|
+
name: string;
|
|
3
|
+
cliFlag: "experimental-keep-audio-context-alive";
|
|
4
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
ssrName: null;
|
|
6
|
+
docLink: string;
|
|
7
|
+
type: boolean;
|
|
8
|
+
getValue: ({ commandLine }: {
|
|
9
|
+
commandLine: Record<string, unknown>;
|
|
10
|
+
}) => {
|
|
11
|
+
value: boolean;
|
|
12
|
+
source: string;
|
|
13
|
+
};
|
|
14
|
+
setConfig(value: boolean): void;
|
|
15
|
+
id: "experimental-keep-audio-context-alive";
|
|
16
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.experimentalKeepAudioContextAliveOption = void 0;
|
|
4
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
+
let experimentalKeepAudioContextAlive = false;
|
|
6
|
+
const cliFlag = 'experimental-keep-audio-context-alive';
|
|
7
|
+
exports.experimentalKeepAudioContextAliveOption = {
|
|
8
|
+
name: 'Keep AudioContext alive (experimental)',
|
|
9
|
+
cliFlag,
|
|
10
|
+
description: () => (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: ["Keeps the shared ",
|
|
11
|
+
jsx_runtime_1.jsx("code", { children: "AudioContext" }),
|
|
12
|
+
" running while the Remotion Studio is paused."] })),
|
|
13
|
+
ssrName: null,
|
|
14
|
+
docLink: 'https://www.remotion.dev/docs/config#setexperimentalkeepaudiocontextalive',
|
|
15
|
+
type: false,
|
|
16
|
+
getValue: ({ commandLine }) => {
|
|
17
|
+
if (commandLine[cliFlag] !== undefined && commandLine[cliFlag] !== null) {
|
|
18
|
+
return {
|
|
19
|
+
value: commandLine[cliFlag],
|
|
20
|
+
source: 'cli',
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
return {
|
|
24
|
+
value: experimentalKeepAudioContextAlive,
|
|
25
|
+
source: 'config',
|
|
26
|
+
};
|
|
27
|
+
},
|
|
28
|
+
setConfig(value) {
|
|
29
|
+
experimentalKeepAudioContextAlive = value;
|
|
30
|
+
},
|
|
31
|
+
id: cliFlag,
|
|
32
|
+
};
|
package/dist/options/index.d.ts
CHANGED
|
@@ -1176,6 +1176,22 @@ export declare const allOptions: {
|
|
|
1176
1176
|
setConfig(value: boolean): void;
|
|
1177
1177
|
id: "force-new";
|
|
1178
1178
|
};
|
|
1179
|
+
experimentalKeepAudioContextAliveOption: {
|
|
1180
|
+
name: string;
|
|
1181
|
+
cliFlag: "experimental-keep-audio-context-alive";
|
|
1182
|
+
description: () => import("react/jsx-runtime").JSX.Element;
|
|
1183
|
+
ssrName: null;
|
|
1184
|
+
docLink: string;
|
|
1185
|
+
type: boolean;
|
|
1186
|
+
getValue: ({ commandLine }: {
|
|
1187
|
+
commandLine: Record<string, unknown>;
|
|
1188
|
+
}) => {
|
|
1189
|
+
value: boolean;
|
|
1190
|
+
source: string;
|
|
1191
|
+
};
|
|
1192
|
+
setConfig(value: boolean): void;
|
|
1193
|
+
id: "experimental-keep-audio-context-alive";
|
|
1194
|
+
};
|
|
1179
1195
|
numberOfSharedAudioTagsOption: {
|
|
1180
1196
|
name: string;
|
|
1181
1197
|
cliFlag: "number-of-shared-audio-tags";
|
package/dist/options/index.js
CHANGED
|
@@ -31,6 +31,7 @@ const encoding_max_rate_1 = require("./encoding-max-rate");
|
|
|
31
31
|
const enforce_audio_1 = require("./enforce-audio");
|
|
32
32
|
const env_file_1 = require("./env-file");
|
|
33
33
|
const every_nth_frame_1 = require("./every-nth-frame");
|
|
34
|
+
const experimental_keep_audio_context_alive_1 = require("./experimental-keep-audio-context-alive");
|
|
34
35
|
const folder_expiry_1 = require("./folder-expiry");
|
|
35
36
|
const for_seamless_aac_concatenation_1 = require("./for-seamless-aac-concatenation");
|
|
36
37
|
const force_new_studio_1 = require("./force-new-studio");
|
|
@@ -164,6 +165,7 @@ exports.allOptions = {
|
|
|
164
165
|
keyboardShortcutsOption: keyboard_shortcuts_1.keyboardShortcutsOption,
|
|
165
166
|
framesOption: frames_1.framesOption,
|
|
166
167
|
forceNewStudioOption: force_new_studio_1.forceNewStudioOption,
|
|
168
|
+
experimentalKeepAudioContextAliveOption: experimental_keep_audio_context_alive_1.experimentalKeepAudioContextAliveOption,
|
|
167
169
|
numberOfSharedAudioTagsOption: number_of_shared_audio_tags_1.numberOfSharedAudioTagsOption,
|
|
168
170
|
ipv4Option: ipv4_1.ipv4Option,
|
|
169
171
|
stillImageFormatOption: still_image_format_1.stillImageFormatOption,
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"url": "https://github.com/remotion-dev/remotion/tree/main/packages/renderer"
|
|
4
4
|
},
|
|
5
5
|
"name": "@remotion/renderer",
|
|
6
|
-
"version": "4.0.
|
|
6
|
+
"version": "4.0.509",
|
|
7
7
|
"description": "Render Remotion videos using Node.js or Bun",
|
|
8
8
|
"main": "dist/index.js",
|
|
9
9
|
"types": "dist/index.d.ts",
|
|
@@ -22,11 +22,11 @@
|
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"execa": "5.1.1",
|
|
25
|
-
"remotion": "4.0.
|
|
26
|
-
"@remotion/streaming": "4.0.
|
|
25
|
+
"remotion": "4.0.509",
|
|
26
|
+
"@remotion/streaming": "4.0.509",
|
|
27
27
|
"source-map": "0.8.0",
|
|
28
28
|
"ws": "8.21.0",
|
|
29
|
-
"@remotion/licensing": "4.0.
|
|
29
|
+
"@remotion/licensing": "4.0.509"
|
|
30
30
|
},
|
|
31
31
|
"peerDependencies": {
|
|
32
32
|
"react": ">=16.8.0",
|
|
@@ -40,19 +40,19 @@
|
|
|
40
40
|
"react-dom": "19.2.3",
|
|
41
41
|
"@typescript/native-preview": "7.0.0-dev.20260217.1",
|
|
42
42
|
"@types/ws": "8.5.10",
|
|
43
|
-
"@remotion/example-videos": "4.0.
|
|
44
|
-
"@remotion/eslint-config-internal": "4.0.
|
|
43
|
+
"@remotion/example-videos": "4.0.509",
|
|
44
|
+
"@remotion/eslint-config-internal": "4.0.509",
|
|
45
45
|
"eslint": "9.19.0",
|
|
46
46
|
"@types/node": "20.12.14"
|
|
47
47
|
},
|
|
48
48
|
"optionalDependencies": {
|
|
49
|
-
"@remotion/compositor-darwin-arm64": "4.0.
|
|
50
|
-
"@remotion/compositor-darwin-x64": "4.0.
|
|
51
|
-
"@remotion/compositor-linux-arm64-gnu": "4.0.
|
|
52
|
-
"@remotion/compositor-linux-arm64-musl": "4.0.
|
|
53
|
-
"@remotion/compositor-linux-x64-gnu": "4.0.
|
|
54
|
-
"@remotion/compositor-linux-x64-musl": "4.0.
|
|
55
|
-
"@remotion/compositor-win32-x64-msvc": "4.0.
|
|
49
|
+
"@remotion/compositor-darwin-arm64": "4.0.509",
|
|
50
|
+
"@remotion/compositor-darwin-x64": "4.0.509",
|
|
51
|
+
"@remotion/compositor-linux-arm64-gnu": "4.0.509",
|
|
52
|
+
"@remotion/compositor-linux-arm64-musl": "4.0.509",
|
|
53
|
+
"@remotion/compositor-linux-x64-gnu": "4.0.509",
|
|
54
|
+
"@remotion/compositor-linux-x64-musl": "4.0.509",
|
|
55
|
+
"@remotion/compositor-win32-x64-msvc": "4.0.509"
|
|
56
56
|
},
|
|
57
57
|
"keywords": [
|
|
58
58
|
"remotion",
|