@remotion/renderer 4.0.0-fastlambda.29 → 4.0.0-fastlambda.33
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/open-browser.js +4 -1
- package/package.json +4 -4
package/dist/open-browser.js
CHANGED
|
@@ -17,6 +17,9 @@ const getOpenGlRenderer = (option) => {
|
|
|
17
17
|
if (renderer === 'swangle') {
|
|
18
18
|
return [`--use-gl=angle`, `--use-angle=swiftshader`];
|
|
19
19
|
}
|
|
20
|
+
if (renderer === null) {
|
|
21
|
+
return [];
|
|
22
|
+
}
|
|
20
23
|
return [`--use-gl=${renderer}`];
|
|
21
24
|
};
|
|
22
25
|
const browserInstances = [];
|
|
@@ -37,7 +40,6 @@ const openBrowser = async (browser, options) => {
|
|
|
37
40
|
await (0, get_local_browser_executable_1.ensureLocalBrowser)(browser, (_a = options === null || options === void 0 ? void 0 : options.browserExecutable) !== null && _a !== void 0 ? _a : null);
|
|
38
41
|
const executablePath = (0, get_local_browser_executable_1.getLocalBrowserExecutable)(browser, (_b = options === null || options === void 0 ? void 0 : options.browserExecutable) !== null && _b !== void 0 ? _b : null);
|
|
39
42
|
const customGlRenderer = getOpenGlRenderer((_d = (_c = options === null || options === void 0 ? void 0 : options.chromiumOptions) === null || _c === void 0 ? void 0 : _c.gl) !== null && _d !== void 0 ? _d : null);
|
|
40
|
-
console.log({ customGlRenderer });
|
|
41
43
|
const browserInstance = await puppeteer_core_1.default.launch({
|
|
42
44
|
executablePath,
|
|
43
45
|
product: browser,
|
|
@@ -71,6 +73,7 @@ const openBrowser = async (browser, options) => {
|
|
|
71
73
|
'--force-color-profile=srgb',
|
|
72
74
|
'--metrics-recording-only',
|
|
73
75
|
'--no-first-run',
|
|
76
|
+
'--video-threads=16',
|
|
74
77
|
'--enable-automation',
|
|
75
78
|
'--password-store=basic',
|
|
76
79
|
'--use-mock-keychain',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remotion/renderer",
|
|
3
|
-
"version": "4.0.0-fastlambda.
|
|
3
|
+
"version": "4.0.0-fastlambda.33+c985281f2",
|
|
4
4
|
"description": "Renderer for Remotion",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -20,10 +20,10 @@
|
|
|
20
20
|
"url": "https://github.com/remotion-dev/remotion/issues"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@remotion/bundler": "4.0.0-fastlambda.
|
|
23
|
+
"@remotion/bundler": "4.0.0-fastlambda.33+c985281f2",
|
|
24
24
|
"execa": "5.1.1",
|
|
25
25
|
"puppeteer-core": "13.5.1",
|
|
26
|
-
"remotion": "4.0.0-fastlambda.
|
|
26
|
+
"remotion": "4.0.0-fastlambda.33+c985281f2",
|
|
27
27
|
"serve-handler": "6.1.3",
|
|
28
28
|
"source-map": "^0.8.0-beta.0"
|
|
29
29
|
},
|
|
@@ -60,5 +60,5 @@
|
|
|
60
60
|
"publishConfig": {
|
|
61
61
|
"access": "public"
|
|
62
62
|
},
|
|
63
|
-
"gitHead": "
|
|
63
|
+
"gitHead": "c985281f2560018c03250627744290454472c0dd"
|
|
64
64
|
}
|