@remotion/lambda 3.3.82 → 3.3.84
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/api/get-compositions-on-lambda.d.ts +3 -1
- package/dist/api/get-compositions-on-lambda.js +3 -1
- package/dist/api/render-media-on-lambda.d.ts +4 -2
- package/dist/api/render-media-on-lambda.js +3 -1
- package/dist/api/render-still-on-lambda.d.ts +3 -1
- package/dist/api/render-still-on-lambda.js +3 -1
- package/dist/functions/compositions.js +2 -2
- package/dist/functions/helpers/get-current-region.d.ts +1 -1
- package/dist/functions/launch.js +2 -0
- package/dist/functions/renderer.js +3 -3
- package/dist/functions/start.js +1 -0
- package/dist/functions/still.js +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/shared/constants.d.ts +5 -0
- package/package.json +9 -9
- package/remotionlambda-arm64.zip +0 -0
- package/remotionlambda-x64.zip +0 -0
|
@@ -11,6 +11,7 @@ export declare type GetCompositionsOnLambdaInput = {
|
|
|
11
11
|
logLevel?: LogLevel;
|
|
12
12
|
timeoutInMilliseconds?: number;
|
|
13
13
|
forceBucketName?: string;
|
|
14
|
+
dumpBrowserLogs?: boolean;
|
|
14
15
|
};
|
|
15
16
|
export declare type GetCompositionsOnLambdaOutput = TCompMetadata[];
|
|
16
17
|
/**
|
|
@@ -24,6 +25,7 @@ export declare type GetCompositionsOnLambdaOutput = TCompMetadata[];
|
|
|
24
25
|
* @param params.logLevel The log level of the Lambda function
|
|
25
26
|
* @param params.timeoutInMilliseconds The timeout of the Lambda function
|
|
26
27
|
* @param params.chromiumOptions The options to pass to Chromium
|
|
28
|
+
* @param params.dumpBrowserLogs Whether to print browser logs to CloudWatch
|
|
27
29
|
* @returns The compositions
|
|
28
30
|
*/
|
|
29
|
-
export declare const getCompositionsOnLambda: ({ chromiumOptions, serveUrl, region, inputProps, functionName, envVariables, logLevel, timeoutInMilliseconds, forceBucketName: bucketName, }: GetCompositionsOnLambdaInput) => Promise<GetCompositionsOnLambdaOutput>;
|
|
31
|
+
export declare const getCompositionsOnLambda: ({ chromiumOptions, serveUrl, region, inputProps, functionName, envVariables, logLevel, timeoutInMilliseconds, forceBucketName: bucketName, dumpBrowserLogs, }: GetCompositionsOnLambdaInput) => Promise<GetCompositionsOnLambdaOutput>;
|
|
@@ -16,9 +16,10 @@ const serialize_input_props_1 = require("../shared/serialize-input-props");
|
|
|
16
16
|
* @param params.logLevel The log level of the Lambda function
|
|
17
17
|
* @param params.timeoutInMilliseconds The timeout of the Lambda function
|
|
18
18
|
* @param params.chromiumOptions The options to pass to Chromium
|
|
19
|
+
* @param params.dumpBrowserLogs Whether to print browser logs to CloudWatch
|
|
19
20
|
* @returns The compositions
|
|
20
21
|
*/
|
|
21
|
-
const getCompositionsOnLambda = async ({ chromiumOptions, serveUrl, region, inputProps, functionName, envVariables, logLevel, timeoutInMilliseconds, forceBucketName: bucketName, }) => {
|
|
22
|
+
const getCompositionsOnLambda = async ({ chromiumOptions, serveUrl, region, inputProps, functionName, envVariables, logLevel, timeoutInMilliseconds, forceBucketName: bucketName, dumpBrowserLogs, }) => {
|
|
22
23
|
var _a;
|
|
23
24
|
const serializedInputProps = await (0, serialize_input_props_1.serializeInputProps)({
|
|
24
25
|
inputProps,
|
|
@@ -39,6 +40,7 @@ const getCompositionsOnLambda = async ({ chromiumOptions, serveUrl, region, inpu
|
|
|
39
40
|
timeoutInMilliseconds: timeoutInMilliseconds !== null && timeoutInMilliseconds !== void 0 ? timeoutInMilliseconds : 30000,
|
|
40
41
|
version: version_1.VERSION,
|
|
41
42
|
bucketName: bucketName !== null && bucketName !== void 0 ? bucketName : null,
|
|
43
|
+
dumpBrowserLogs: dumpBrowserLogs !== null && dumpBrowserLogs !== void 0 ? dumpBrowserLogs : false,
|
|
42
44
|
},
|
|
43
45
|
region,
|
|
44
46
|
});
|
|
@@ -42,6 +42,7 @@ export declare type RenderMediaOnLambdaInput = {
|
|
|
42
42
|
rendererFunctionName?: string | null;
|
|
43
43
|
forceBucketName?: string;
|
|
44
44
|
audioCodec?: AudioCodec | null;
|
|
45
|
+
dumpBrowserLogs?: boolean;
|
|
45
46
|
};
|
|
46
47
|
export declare type RenderMediaOnLambdaOutput = {
|
|
47
48
|
renderId: string;
|
|
@@ -66,10 +67,11 @@ export declare type RenderMediaOnLambdaOutput = {
|
|
|
66
67
|
* @param params.maxRetries How often rendering a chunk may fail before the media render gets aborted. Default "1"
|
|
67
68
|
* @param params.logLevel Level of logging that Lambda function should perform. Default "info".
|
|
68
69
|
* @param params.webhook Configuration for webhook called upon completion or timeout of the render.
|
|
70
|
+
* @param params.dumpBrowserLogs Whether to print browser logs to CloudWatch
|
|
69
71
|
* @returns {Promise<RenderMediaOnLambdaOutput>} See documentation for detailed structure
|
|
70
72
|
*/
|
|
71
|
-
export declare const renderMediaOnLambda: ({ functionName, serveUrl, inputProps, codec, imageFormat, crf, envVariables, pixelFormat, proResProfile, quality, region, maxRetries, composition, framesPerLambda, privacy, logLevel, frameRange, outName, timeoutInMilliseconds, chromiumOptions, scale, numberOfGifLoops, everyNthFrame, concurrencyPerLambda, downloadBehavior, muted, overwrite, audioBitrate, videoBitrate, webhook, forceHeight, forceWidth, rendererFunctionName, forceBucketName: bucketName, audioCodec, }: RenderMediaOnLambdaInput) => Promise<RenderMediaOnLambdaOutput>;
|
|
73
|
+
export declare const renderMediaOnLambda: ({ functionName, serveUrl, inputProps, codec, imageFormat, crf, envVariables, pixelFormat, proResProfile, quality, region, maxRetries, composition, framesPerLambda, privacy, logLevel, frameRange, outName, timeoutInMilliseconds, chromiumOptions, scale, numberOfGifLoops, everyNthFrame, concurrencyPerLambda, downloadBehavior, muted, overwrite, audioBitrate, videoBitrate, webhook, forceHeight, forceWidth, rendererFunctionName, forceBucketName: bucketName, audioCodec, dumpBrowserLogs, }: RenderMediaOnLambdaInput) => Promise<RenderMediaOnLambdaOutput>;
|
|
72
74
|
/**
|
|
73
75
|
* @deprecated Renamed to renderMediaOnLambda()
|
|
74
76
|
*/
|
|
75
|
-
export declare const renderVideoOnLambda: ({ functionName, serveUrl, inputProps, codec, imageFormat, crf, envVariables, pixelFormat, proResProfile, quality, region, maxRetries, composition, framesPerLambda, privacy, logLevel, frameRange, outName, timeoutInMilliseconds, chromiumOptions, scale, numberOfGifLoops, everyNthFrame, concurrencyPerLambda, downloadBehavior, muted, overwrite, audioBitrate, videoBitrate, webhook, forceHeight, forceWidth, rendererFunctionName, forceBucketName: bucketName, audioCodec, }: RenderMediaOnLambdaInput) => Promise<RenderMediaOnLambdaOutput>;
|
|
77
|
+
export declare const renderVideoOnLambda: ({ functionName, serveUrl, inputProps, codec, imageFormat, crf, envVariables, pixelFormat, proResProfile, quality, region, maxRetries, composition, framesPerLambda, privacy, logLevel, frameRange, outName, timeoutInMilliseconds, chromiumOptions, scale, numberOfGifLoops, everyNthFrame, concurrencyPerLambda, downloadBehavior, muted, overwrite, audioBitrate, videoBitrate, webhook, forceHeight, forceWidth, rendererFunctionName, forceBucketName: bucketName, audioCodec, dumpBrowserLogs, }: RenderMediaOnLambdaInput) => Promise<RenderMediaOnLambdaOutput>;
|
|
@@ -27,9 +27,10 @@ const validate_serveurl_1 = require("../shared/validate-serveurl");
|
|
|
27
27
|
* @param params.maxRetries How often rendering a chunk may fail before the media render gets aborted. Default "1"
|
|
28
28
|
* @param params.logLevel Level of logging that Lambda function should perform. Default "info".
|
|
29
29
|
* @param params.webhook Configuration for webhook called upon completion or timeout of the render.
|
|
30
|
+
* @param params.dumpBrowserLogs Whether to print browser logs to CloudWatch
|
|
30
31
|
* @returns {Promise<RenderMediaOnLambdaOutput>} See documentation for detailed structure
|
|
31
32
|
*/
|
|
32
|
-
const renderMediaOnLambda = async ({ functionName, serveUrl, inputProps, codec, imageFormat, crf, envVariables, pixelFormat, proResProfile, quality, region, maxRetries, composition, framesPerLambda, privacy, logLevel, frameRange, outName, timeoutInMilliseconds, chromiumOptions, scale, numberOfGifLoops, everyNthFrame, concurrencyPerLambda, downloadBehavior, muted, overwrite, audioBitrate, videoBitrate, webhook, forceHeight, forceWidth, rendererFunctionName, forceBucketName: bucketName, audioCodec, }) => {
|
|
33
|
+
const renderMediaOnLambda = async ({ functionName, serveUrl, inputProps, codec, imageFormat, crf, envVariables, pixelFormat, proResProfile, quality, region, maxRetries, composition, framesPerLambda, privacy, logLevel, frameRange, outName, timeoutInMilliseconds, chromiumOptions, scale, numberOfGifLoops, everyNthFrame, concurrencyPerLambda, downloadBehavior, muted, overwrite, audioBitrate, videoBitrate, webhook, forceHeight, forceWidth, rendererFunctionName, forceBucketName: bucketName, audioCodec, dumpBrowserLogs, }) => {
|
|
33
34
|
var _a;
|
|
34
35
|
const actualCodec = (0, validate_lambda_codec_1.validateLambdaCodec)(codec);
|
|
35
36
|
(0, validate_serveurl_1.validateServeUrl)(serveUrl);
|
|
@@ -83,6 +84,7 @@ const renderMediaOnLambda = async ({ functionName, serveUrl, inputProps, codec,
|
|
|
83
84
|
forceWidth: forceWidth !== null && forceWidth !== void 0 ? forceWidth : null,
|
|
84
85
|
bucketName: bucketName !== null && bucketName !== void 0 ? bucketName : null,
|
|
85
86
|
audioCodec: audioCodec !== null && audioCodec !== void 0 ? audioCodec : null,
|
|
87
|
+
dumpBrowserLogs: dumpBrowserLogs !== null && dumpBrowserLogs !== void 0 ? dumpBrowserLogs : false,
|
|
86
88
|
},
|
|
87
89
|
region,
|
|
88
90
|
});
|
|
@@ -23,6 +23,7 @@ export declare type RenderStillOnLambdaInput = {
|
|
|
23
23
|
forceWidth?: number | null;
|
|
24
24
|
forceHeight?: number | null;
|
|
25
25
|
forceBucketName?: string;
|
|
26
|
+
dumpBrowserLogs?: boolean;
|
|
26
27
|
};
|
|
27
28
|
export declare type RenderStillOnLambdaOutput = {
|
|
28
29
|
estimatedPrice: CostsInfo;
|
|
@@ -46,6 +47,7 @@ export declare type RenderStillOnLambdaOutput = {
|
|
|
46
47
|
* @param params.maxRetries How often rendering a chunk may fail before the video render gets aborted.
|
|
47
48
|
* @param params.frame Which frame should be used for the still image. Default 0.
|
|
48
49
|
* @param params.privacy Whether the item in the S3 bucket should be public. Possible values: `"private"` and `"public"`
|
|
50
|
+
* @param params.dumpBrowserLogs Whether to print browser logs to CloudWatch.
|
|
49
51
|
* @returns {Promise<RenderStillOnLambdaOutput>} See documentation for exact response structure.
|
|
50
52
|
*/
|
|
51
|
-
export declare const renderStillOnLambda: ({ functionName, serveUrl, inputProps, imageFormat, envVariables, quality, region, maxRetries, composition, privacy, frame, logLevel, outName, timeoutInMilliseconds, chromiumOptions, scale, downloadBehavior, forceHeight, forceWidth, forceBucketName, }: RenderStillOnLambdaInput) => Promise<RenderStillOnLambdaOutput>;
|
|
53
|
+
export declare const renderStillOnLambda: ({ functionName, serveUrl, inputProps, imageFormat, envVariables, quality, region, maxRetries, composition, privacy, frame, logLevel, outName, timeoutInMilliseconds, chromiumOptions, scale, downloadBehavior, forceHeight, forceWidth, forceBucketName, dumpBrowserLogs, }: RenderStillOnLambdaInput) => Promise<RenderStillOnLambdaOutput>;
|
|
@@ -20,9 +20,10 @@ const serialize_input_props_1 = require("../shared/serialize-input-props");
|
|
|
20
20
|
* @param params.maxRetries How often rendering a chunk may fail before the video render gets aborted.
|
|
21
21
|
* @param params.frame Which frame should be used for the still image. Default 0.
|
|
22
22
|
* @param params.privacy Whether the item in the S3 bucket should be public. Possible values: `"private"` and `"public"`
|
|
23
|
+
* @param params.dumpBrowserLogs Whether to print browser logs to CloudWatch.
|
|
23
24
|
* @returns {Promise<RenderStillOnLambdaOutput>} See documentation for exact response structure.
|
|
24
25
|
*/
|
|
25
|
-
const renderStillOnLambda = async ({ functionName, serveUrl, inputProps, imageFormat, envVariables, quality, region, maxRetries, composition, privacy, frame, logLevel, outName, timeoutInMilliseconds, chromiumOptions, scale, downloadBehavior, forceHeight, forceWidth, forceBucketName, }) => {
|
|
26
|
+
const renderStillOnLambda = async ({ functionName, serveUrl, inputProps, imageFormat, envVariables, quality, region, maxRetries, composition, privacy, frame, logLevel, outName, timeoutInMilliseconds, chromiumOptions, scale, downloadBehavior, forceHeight, forceWidth, forceBucketName, dumpBrowserLogs, }) => {
|
|
26
27
|
var _a;
|
|
27
28
|
const serializedInputProps = await (0, serialize_input_props_1.serializeInputProps)({
|
|
28
29
|
inputProps,
|
|
@@ -55,6 +56,7 @@ const renderStillOnLambda = async ({ functionName, serveUrl, inputProps, imageFo
|
|
|
55
56
|
forceHeight: forceHeight !== null && forceHeight !== void 0 ? forceHeight : null,
|
|
56
57
|
forceWidth: forceWidth !== null && forceWidth !== void 0 ? forceWidth : null,
|
|
57
58
|
bucketName: forceBucketName !== null && forceBucketName !== void 0 ? forceBucketName : null,
|
|
59
|
+
dumpBrowserLogs: dumpBrowserLogs !== null && dumpBrowserLogs !== void 0 ? dumpBrowserLogs : false,
|
|
58
60
|
},
|
|
59
61
|
region,
|
|
60
62
|
});
|
|
@@ -10,7 +10,7 @@ const deserialize_input_props_1 = require("../shared/deserialize-input-props");
|
|
|
10
10
|
const get_browser_instance_1 = require("./helpers/get-browser-instance");
|
|
11
11
|
const get_current_region_1 = require("./helpers/get-current-region");
|
|
12
12
|
const compositionsHandler = async (lambdaParams, options) => {
|
|
13
|
-
var _a, _b;
|
|
13
|
+
var _a, _b, _c;
|
|
14
14
|
if (lambdaParams.type !== defaults_1.LambdaRoutines.compositions) {
|
|
15
15
|
throw new TypeError('Expected info compositions');
|
|
16
16
|
}
|
|
@@ -25,7 +25,7 @@ const compositionsHandler = async (lambdaParams, options) => {
|
|
|
25
25
|
(_a = lambdaParams.bucketName) !== null && _a !== void 0 ? _a : (0, get_or_create_bucket_1.getOrCreateBucket)({
|
|
26
26
|
region,
|
|
27
27
|
}).then((b) => b.bucketName),
|
|
28
|
-
(0, get_browser_instance_1.getBrowserInstance)(renderer_1.RenderInternals.isEqualOrBelowLogLevel(lambdaParams.logLevel, 'verbose'), (
|
|
28
|
+
(0, get_browser_instance_1.getBrowserInstance)((_b = lambdaParams.dumpBrowserLogs) !== null && _b !== void 0 ? _b : renderer_1.RenderInternals.isEqualOrBelowLogLevel(lambdaParams.logLevel, 'verbose'), (_c = lambdaParams.chromiumOptions) !== null && _c !== void 0 ? _c : {}),
|
|
29
29
|
]);
|
|
30
30
|
const inputProps = await (0, deserialize_input_props_1.deserializeInputProps)({
|
|
31
31
|
bucketName,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const getCurrentRegionInFunction: () => "eu-central-1" | "eu-west-1" | "eu-west-2" | "eu-west-3" | "eu-
|
|
1
|
+
export declare const getCurrentRegionInFunction: () => "eu-central-1" | "eu-west-1" | "eu-west-2" | "eu-west-3" | "eu-north-1" | "us-east-1" | "us-east-2" | "us-west-1" | "us-west-2" | "ap-south-1" | "ap-southeast-1" | "ap-southeast-2" | "ap-northeast-1" | "ap-northeast-2" | "ap-northeast-3" | "ca-central-1" | "sa-east-1" | "eu-south-1" | "af-south-1" | "ap-east-1" | "me-south-1";
|
package/dist/functions/launch.js
CHANGED
|
@@ -80,6 +80,7 @@ const callFunctionWithRetry = async ({ payload, retries, functionName, }) => {
|
|
|
80
80
|
functionName,
|
|
81
81
|
});
|
|
82
82
|
}
|
|
83
|
+
throw err;
|
|
83
84
|
}
|
|
84
85
|
};
|
|
85
86
|
const innerLaunchHandler = async (params, options) => {
|
|
@@ -227,6 +228,7 @@ const innerLaunchHandler = async (params, options) => {
|
|
|
227
228
|
launchFunctionConfig: {
|
|
228
229
|
version: version_1.VERSION,
|
|
229
230
|
},
|
|
231
|
+
dumpBrowserLogs: params.dumpBrowserLogs,
|
|
230
232
|
};
|
|
231
233
|
return payload;
|
|
232
234
|
});
|
|
@@ -59,7 +59,7 @@ const renderHandler = async (params, options, logs) => {
|
|
|
59
59
|
const downloads = {};
|
|
60
60
|
const inputProps = await inputPropsPromise;
|
|
61
61
|
await new Promise((resolve, reject) => {
|
|
62
|
-
var _a;
|
|
62
|
+
var _a, _b;
|
|
63
63
|
(0, renderer_1.renderMedia)({
|
|
64
64
|
composition: {
|
|
65
65
|
id: params.composition,
|
|
@@ -105,14 +105,14 @@ const renderHandler = async (params, options, logs) => {
|
|
|
105
105
|
serveUrl: params.serveUrl,
|
|
106
106
|
quality: params.quality,
|
|
107
107
|
envVariables: params.envVariables,
|
|
108
|
-
dumpBrowserLogs: renderer_1.RenderInternals.isEqualOrBelowLogLevel(params.logLevel, 'verbose'),
|
|
108
|
+
dumpBrowserLogs: (_a = params.dumpBrowserLogs) !== null && _a !== void 0 ? _a : renderer_1.RenderInternals.isEqualOrBelowLogLevel(params.logLevel, 'verbose'),
|
|
109
109
|
verbose: renderer_1.RenderInternals.isEqualOrBelowLogLevel(params.logLevel, 'verbose'),
|
|
110
110
|
onBrowserLog: (log) => {
|
|
111
111
|
logs.push(log);
|
|
112
112
|
},
|
|
113
113
|
outputLocation,
|
|
114
114
|
codec: chunkCodec,
|
|
115
|
-
crf: (
|
|
115
|
+
crf: (_b = params.crf) !== null && _b !== void 0 ? _b : undefined,
|
|
116
116
|
pixelFormat: params.pixelFormat,
|
|
117
117
|
proResProfile: params.proResProfile,
|
|
118
118
|
onDownload: (src) => {
|
package/dist/functions/start.js
CHANGED
|
@@ -77,6 +77,7 @@ const startHandler = async (params, options) => {
|
|
|
77
77
|
forceWidth: params.forceWidth,
|
|
78
78
|
rendererFunctionName: params.rendererFunctionName,
|
|
79
79
|
audioCodec: params.audioCodec,
|
|
80
|
+
dumpBrowserLogs: params.dumpBrowserLogs,
|
|
80
81
|
};
|
|
81
82
|
await (0, aws_clients_1.getLambdaClient)((0, get_current_region_1.getCurrentRegionInFunction)()).send(new client_lambda_1.InvokeCommand({
|
|
82
83
|
FunctionName: process.env.AWS_LAMBDA_FUNCTION_NAME,
|
package/dist/functions/still.js
CHANGED
|
@@ -32,7 +32,7 @@ const io_1 = require("./helpers/io");
|
|
|
32
32
|
const validate_composition_1 = require("./helpers/validate-composition");
|
|
33
33
|
const write_lambda_error_1 = require("./helpers/write-lambda-error");
|
|
34
34
|
const innerStillHandler = async (lambdaParams, renderId, options) => {
|
|
35
|
-
var _a, _b, _c;
|
|
35
|
+
var _a, _b, _c, _d;
|
|
36
36
|
if (lambdaParams.type !== constants_1.LambdaRoutines.still) {
|
|
37
37
|
throw new TypeError('Expected still type');
|
|
38
38
|
}
|
|
@@ -119,7 +119,7 @@ const innerStillHandler = async (lambdaParams, renderId, options) => {
|
|
|
119
119
|
composition,
|
|
120
120
|
output: outputPath,
|
|
121
121
|
serveUrl,
|
|
122
|
-
dumpBrowserLogs:
|
|
122
|
+
dumpBrowserLogs: (_d = lambdaParams.dumpBrowserLogs) !== null && _d !== void 0 ? _d : renderer_1.RenderInternals.isEqualOrBelowLogLevel(lambdaParams.logLevel, 'verbose'),
|
|
123
123
|
envVariables: lambdaParams.envVariables,
|
|
124
124
|
frame: renderer_1.RenderInternals.convertToPositiveFrameIndex({
|
|
125
125
|
frame: lambdaParams.frame,
|
package/dist/index.d.ts
CHANGED
|
@@ -44,11 +44,11 @@ import type { LambdaArchitecture } from './shared/validate-architecture';
|
|
|
44
44
|
/**
|
|
45
45
|
* @deprecated Import this from `@remotion/lambda/client` instead
|
|
46
46
|
*/
|
|
47
|
-
declare const renderMediaOnLambda: ({ functionName, serveUrl, inputProps, codec, imageFormat, crf, envVariables, pixelFormat, proResProfile, quality, region, maxRetries, composition, framesPerLambda, privacy, logLevel, frameRange, outName, timeoutInMilliseconds, chromiumOptions, scale, numberOfGifLoops, everyNthFrame, concurrencyPerLambda, downloadBehavior, muted, overwrite, audioBitrate, videoBitrate, webhook, forceHeight, forceWidth, rendererFunctionName, forceBucketName: bucketName, audioCodec, }: RenderMediaOnLambdaInput) => Promise<RenderMediaOnLambdaOutput>;
|
|
47
|
+
declare const renderMediaOnLambda: ({ functionName, serveUrl, inputProps, codec, imageFormat, crf, envVariables, pixelFormat, proResProfile, quality, region, maxRetries, composition, framesPerLambda, privacy, logLevel, frameRange, outName, timeoutInMilliseconds, chromiumOptions, scale, numberOfGifLoops, everyNthFrame, concurrencyPerLambda, downloadBehavior, muted, overwrite, audioBitrate, videoBitrate, webhook, forceHeight, forceWidth, rendererFunctionName, forceBucketName: bucketName, audioCodec, dumpBrowserLogs, }: RenderMediaOnLambdaInput) => Promise<RenderMediaOnLambdaOutput>;
|
|
48
48
|
/**
|
|
49
49
|
* @deprecated Import this from `@remotion/lambda/client` instead
|
|
50
50
|
*/
|
|
51
|
-
declare const renderStillOnLambda: ({ functionName, serveUrl, inputProps, imageFormat, envVariables, quality, region, maxRetries, composition, privacy, frame, logLevel, outName, timeoutInMilliseconds, chromiumOptions, scale, downloadBehavior, forceHeight, forceWidth, forceBucketName, }: RenderStillOnLambdaInput) => Promise<RenderStillOnLambdaOutput>;
|
|
51
|
+
declare const renderStillOnLambda: ({ functionName, serveUrl, inputProps, imageFormat, envVariables, quality, region, maxRetries, composition, privacy, frame, logLevel, outName, timeoutInMilliseconds, chromiumOptions, scale, downloadBehavior, forceHeight, forceWidth, forceBucketName, dumpBrowserLogs, }: RenderStillOnLambdaInput) => Promise<RenderStillOnLambdaOutput>;
|
|
52
52
|
/**
|
|
53
53
|
* @deprecated Import this from `@remotion/lambda/client` instead
|
|
54
54
|
*/
|
|
@@ -146,6 +146,7 @@ export declare type LambdaPayloads = {
|
|
|
146
146
|
forceHeight: number | null;
|
|
147
147
|
forceWidth: number | null;
|
|
148
148
|
bucketName: string | null;
|
|
149
|
+
dumpBrowserLogs: boolean;
|
|
149
150
|
};
|
|
150
151
|
launch: {
|
|
151
152
|
rendererFunctionName: string | null;
|
|
@@ -183,6 +184,7 @@ export declare type LambdaPayloads = {
|
|
|
183
184
|
webhook: WebhookOption;
|
|
184
185
|
forceHeight: number | null;
|
|
185
186
|
forceWidth: number | null;
|
|
187
|
+
dumpBrowserLogs: boolean;
|
|
186
188
|
};
|
|
187
189
|
status: {
|
|
188
190
|
type: LambdaRoutines.status;
|
|
@@ -226,6 +228,7 @@ export declare type LambdaPayloads = {
|
|
|
226
228
|
launchFunctionConfig: {
|
|
227
229
|
version: string;
|
|
228
230
|
};
|
|
231
|
+
dumpBrowserLogs: boolean;
|
|
229
232
|
};
|
|
230
233
|
still: {
|
|
231
234
|
type: LambdaRoutines.still;
|
|
@@ -249,6 +252,7 @@ export declare type LambdaPayloads = {
|
|
|
249
252
|
forceHeight: number | null;
|
|
250
253
|
forceWidth: number | null;
|
|
251
254
|
bucketName: string | null;
|
|
255
|
+
dumpBrowserLogs: boolean;
|
|
252
256
|
};
|
|
253
257
|
compositions: {
|
|
254
258
|
type: LambdaRoutines.compositions;
|
|
@@ -260,6 +264,7 @@ export declare type LambdaPayloads = {
|
|
|
260
264
|
timeoutInMilliseconds: number;
|
|
261
265
|
serveUrl: string;
|
|
262
266
|
bucketName: string | null;
|
|
267
|
+
dumpBrowserLogs: boolean;
|
|
263
268
|
};
|
|
264
269
|
};
|
|
265
270
|
export declare type LambdaPayload = LambdaPayloads[LambdaRoutines];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remotion/lambda",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.84",
|
|
4
4
|
"description": "Distributed renderer for Remotion based on AWS Lambda",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -23,18 +23,18 @@
|
|
|
23
23
|
"@aws-sdk/credential-providers": "3.272.0",
|
|
24
24
|
"@aws-sdk/lib-storage": "3.272.0",
|
|
25
25
|
"@aws-sdk/s3-request-presigner": "3.272.0",
|
|
26
|
-
"@remotion/bundler": "3.3.
|
|
27
|
-
"@remotion/cli": "3.3.
|
|
28
|
-
"@remotion/renderer": "3.3.
|
|
26
|
+
"@remotion/bundler": "3.3.84",
|
|
27
|
+
"@remotion/cli": "3.3.84",
|
|
28
|
+
"@remotion/renderer": "3.3.84",
|
|
29
29
|
"aws-policies": "^1.0.1",
|
|
30
30
|
"mime-types": "2.1.34",
|
|
31
|
-
"remotion": "3.3.
|
|
31
|
+
"remotion": "3.3.84"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@jonny/eslint-config": "3.0.266",
|
|
35
|
-
"@remotion/bundler": "3.3.
|
|
36
|
-
"@remotion/compositor-linux-arm64-musl": "3.3.
|
|
37
|
-
"@remotion/compositor-linux-x64-musl": "3.3.
|
|
35
|
+
"@remotion/bundler": "3.3.84",
|
|
36
|
+
"@remotion/compositor-linux-arm64-musl": "3.3.84",
|
|
37
|
+
"@remotion/compositor-linux-x64-musl": "3.3.84",
|
|
38
38
|
"@types/mime-types": "2.1.1",
|
|
39
39
|
"@types/minimist": "1.2.2",
|
|
40
40
|
"@types/node": "^14.14.14",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"zip-lib": "^0.7.2"
|
|
49
49
|
},
|
|
50
50
|
"peerDependencies": {
|
|
51
|
-
"@remotion/bundler": "3.3.
|
|
51
|
+
"@remotion/bundler": "3.3.84"
|
|
52
52
|
},
|
|
53
53
|
"publishConfig": {
|
|
54
54
|
"access": "public"
|
package/remotionlambda-arm64.zip
CHANGED
|
Binary file
|
package/remotionlambda-x64.zip
CHANGED
|
Binary file
|