🎥 Make videos programmatically with React
add lambda
Jonny Burger04cc54924a18
diff --git a/packages/example/package.json b/packages/example/package.jsonindex 58ab8f812d..5fbc096f66 100644--- a/packages/example/package.json+++ b/packages/example/package.json@@ -30,6 +30,7 @@"@remotion/eslint-plugin": "^2.4.0","@remotion/gif": "^2.4.0","@remotion/media-utils": "^2.4.0",+ "@remotion/lambda": "^2.4.0","@remotion/renderer": "^2.4.0","@remotion/three": "^2.4.0","@types/express": "^4.17.11",diff --git a/packages/lambda/package.json b/packages/lambda/package.jsonindex f95a37ea8d..97997a0df2 100644--- a/packages/lambda/package.json+++ b/packages/lambda/package.json@@ -1,6 +1,6 @@{"name": "@remotion/lambda",- "version": "2.3.4",+ "version": "2.4.0","description": "Utility functions for audio and video","main": "dist/index.js","sideEffects": false,diff --git a/packages/lambda/src/api/create-function.ts b/packages/lambda/src/api/create-function.tsindex 691044a14d..a2ad8e814f 100644--- a/packages/lambda/src/api/create-function.ts+++ b/packages/lambda/src/api/create-function.ts@@ -33,9 +33,9 @@ export const createFunction = async ({MemorySize: memorySizeInMb,Timeout: timeoutInSeconds,Layers: [- `arn:aws:lambda:eu-central-1:976210361945:layer:remotion-binaries-chromium:1`,- 'arn:aws:lambda:eu-central-1:976210361945:layer:remotion-binaries-ffmpeg:1',- 'arn:aws:lambda:eu-central-1:976210361945:layer:remotion-binaries-remotion:1',+ `arn:aws:lambda:eu-central-1:976210361945:layer:remotion-binaries-chromium:2`,+ 'arn:aws:lambda:eu-central-1:976210361945:layer:remotion-binaries-ffmpeg:2',+ 'arn:aws:lambda:eu-central-1:976210361945:layer:remotion-binaries-remotion:2',],}));