🎥 Make videos programmatically with React
syntax
Jonny Burgerb3f557b539d4
diff --git a/packages/lambda/src/api/get-compositions-on-lambda.ts b/packages/lambda/src/api/get-compositions-on-lambda.tsindex cd7f5325f0..8e9ebec841 100644--- a/packages/lambda/src/api/get-compositions-on-lambda.ts+++ b/packages/lambda/src/api/get-compositions-on-lambda.ts@@ -1,4 +1,5 @@-import {RenderInternals, type ChromiumOptions, type LogLevel} from '@remotion/renderer';+import type {ChromiumOptions, LogLevel} from '@remotion/renderer';+import {RenderInternals} from '@remotion/renderer';import type {AnyCompMetadata} from 'remotion';import {VERSION} from 'remotion/version';import type {AwsRegion} from '../client';@@ -65,7 +66,9 @@ export const getCompositionsOnLambda = async ({serveUrl,envVariables,inputProps: serializedInputProps,- logLevel: dumpBrowserLogs ? 'verbose' : logLevel ?? RenderInternals.getLogLevel(),+ logLevel: dumpBrowserLogs+ ? 'verbose'+ : logLevel ?? RenderInternals.getLogLevel(),timeoutInMilliseconds: timeoutInMilliseconds ?? 30000,version: VERSION,bucketName: bucketName ?? null,diff --git a/packages/lambda/src/api/render-still-on-lambda.ts b/packages/lambda/src/api/render-still-on-lambda.tsindex 2b9111420f..7d05ed9ba9 100644--- a/packages/lambda/src/api/render-still-on-lambda.ts+++ b/packages/lambda/src/api/render-still-on-lambda.ts@@ -1,9 +1,9 @@-import {- RenderInternals,- type ChromiumOptions,- type LogLevel,- type StillImageFormat,+import type {+ ChromiumOptions,+ LogLevel,+ StillImageFormat,} from '@remotion/renderer';+import {RenderInternals} from '@remotion/renderer';import {VERSION} from 'remotion/version';import type {AwsRegion} from '../pricing/aws-regions';import {callLambda} from '../shared/call-lambda';@@ -122,7 +122,9 @@ export const renderStillOnLambda = async ({frame: frame ?? 0,privacy,attempt: 1,- logLevel: dumpBrowserLogs ? 'verbose' : logLevel ?? RenderInternals.getLogLevel(),+ logLevel: dumpBrowserLogs+ ? 'verbose'+ : logLevel ?? RenderInternals.getLogLevel(),outName: outName ?? null,timeoutInMilliseconds: timeoutInMilliseconds ?? 30000,chromiumOptions: chromiumOptions ?? {},