@remotion/renderer 4.0.512 → 4.0.514
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 +62 -0
- package/dist/compositor/compositor.d.ts +7 -0
- package/dist/compositor/compositor.js +45 -1
- package/dist/ensure-browser.d.ts +2 -0
- package/dist/esm/client.mjs +939 -839
- package/dist/esm/index.mjs +52 -8
- package/dist/index.d.ts +12 -0
- package/dist/offthread-video-server.js +3 -8
- package/dist/options/ask-ai.d.ts +2 -0
- package/dist/options/ask-ai.js +7 -0
- package/dist/options/beep-on-finish.d.ts +2 -0
- package/dist/options/beep-on-finish.js +7 -0
- package/dist/options/cross-site-isolation.d.ts +2 -0
- package/dist/options/cross-site-isolation.js +7 -0
- package/dist/options/index.d.ts +34 -0
- package/dist/options/index.js +2 -0
- package/dist/options/interactivity.d.ts +2 -0
- package/dist/options/interactivity.js +7 -0
- package/dist/options/keyboard-shortcuts.d.ts +2 -0
- package/dist/options/keyboard-shortcuts.js +7 -0
- package/dist/options/latency-hint.d.ts +2 -0
- package/dist/options/latency-hint.js +4 -0
- package/dist/options/log-level.d.ts +2 -0
- package/dist/options/log-level.js +7 -0
- package/dist/options/number-of-shared-audio-tags.d.ts +2 -0
- package/dist/options/number-of-shared-audio-tags.js +7 -0
- package/dist/options/option.d.ts +1 -0
- package/dist/options/options-map.d.ts +28 -0
- package/dist/options/rspack.d.ts +2 -0
- package/dist/options/rspack.js +7 -0
- package/dist/render-frames.js +8 -2
- package/package.json +13 -13
package/dist/options/rspack.js
CHANGED
|
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.rspackOption = void 0;
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
5
|
let rspackEnabled = false;
|
|
6
|
+
let configuredRspackEnabled = null;
|
|
6
7
|
const cliFlag = 'rspack';
|
|
7
8
|
exports.rspackOption = {
|
|
8
9
|
name: 'Rspack',
|
|
@@ -25,6 +26,12 @@ exports.rspackOption = {
|
|
|
25
26
|
},
|
|
26
27
|
setConfig(value) {
|
|
27
28
|
rspackEnabled = value;
|
|
29
|
+
configuredRspackEnabled = value;
|
|
30
|
+
},
|
|
31
|
+
getConfigValue: () => configuredRspackEnabled,
|
|
32
|
+
reset: () => {
|
|
33
|
+
rspackEnabled = false;
|
|
34
|
+
configuredRspackEnabled = null;
|
|
28
35
|
},
|
|
29
36
|
id: cliFlag,
|
|
30
37
|
};
|
package/dist/render-frames.js
CHANGED
|
@@ -330,9 +330,15 @@ const internalRenderFramesRaw = ({ browserExecutable, cancelSignal, chromiumOpti
|
|
|
330
330
|
}),
|
|
331
331
|
])
|
|
332
332
|
.then((res) => {
|
|
333
|
-
server
|
|
333
|
+
if (!server || server.compositor.pid === null) {
|
|
334
|
+
return resolve(res);
|
|
335
|
+
}
|
|
336
|
+
server.compositor
|
|
337
|
+
.executeCommand('CloseAllVideos', {})
|
|
338
|
+
.then(() => {
|
|
334
339
|
logger_1.Log.verbose({ indent, logLevel, tag: 'compositor' }, 'Freed memory from compositor');
|
|
335
|
-
})
|
|
340
|
+
})
|
|
341
|
+
.catch((err) => {
|
|
336
342
|
logger_1.Log.verbose({ indent, logLevel }, 'Could not close compositor', err);
|
|
337
343
|
});
|
|
338
344
|
return resolve(res);
|
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.514",
|
|
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.514",
|
|
26
|
+
"@remotion/streaming": "4.0.514",
|
|
27
27
|
"source-map": "0.8.0",
|
|
28
28
|
"ws": "8.21.0",
|
|
29
|
-
"@remotion/licensing": "4.0.
|
|
29
|
+
"@remotion/licensing": "4.0.514"
|
|
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.514",
|
|
44
|
+
"@remotion/eslint-config-internal": "4.0.514",
|
|
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.514",
|
|
50
|
+
"@remotion/compositor-darwin-x64": "4.0.514",
|
|
51
|
+
"@remotion/compositor-linux-arm64-gnu": "4.0.514",
|
|
52
|
+
"@remotion/compositor-linux-arm64-musl": "4.0.514",
|
|
53
|
+
"@remotion/compositor-linux-x64-gnu": "4.0.514",
|
|
54
|
+
"@remotion/compositor-linux-x64-musl": "4.0.514",
|
|
55
|
+
"@remotion/compositor-win32-x64-msvc": "4.0.514"
|
|
56
56
|
},
|
|
57
57
|
"keywords": [
|
|
58
58
|
"remotion",
|