🎥 Make videos programmatically with React
Fix licenseKey ?? apiKey
Pramod8fb5c4338792
diff --git a/packages/lambda-client/src/render-media-on-lambda.ts b/packages/lambda-client/src/render-media-on-lambda.tsindex e2bf868fc4..ec57b4980c 100644--- a/packages/lambda-client/src/render-media-on-lambda.ts+++ b/packages/lambda-client/src/render-media-on-lambda.ts@@ -205,7 +205,7 @@ export const renderMediaOnLambdaOptionalToRequired = (forcePathStyle: options.forcePathStyle ?? false,indent: false,metadata: options.metadata ?? null,- licenseKey: options.apiKey ?? options.licenseKey ?? null,+ licenseKey: options.licenseKey ?? options.apiKey ?? null,storageClass: options.storageClass ?? null,requestHandler: options.requestHandler ?? null,mediaCacheSizeInBytes: options.mediaCacheSizeInBytes ?? null,diff --git a/packages/lambda-client/src/render-still-on-lambda.ts b/packages/lambda-client/src/render-still-on-lambda.tsindex 0a82d6f0d7..3e8f5ed0fa 100644--- a/packages/lambda-client/src/render-still-on-lambda.ts+++ b/packages/lambda-client/src/render-still-on-lambda.ts@@ -204,7 +204,7 @@ export const renderStillOnLambda = (scale: input.scale ?? 1,timeoutInMilliseconds: input.timeoutInMilliseconds ?? 30000,forcePathStyle: input.forcePathStyle ?? false,- licenseKey: input.apiKey ?? input.licenseKey ?? null,+ licenseKey: input.licenseKey ?? input.apiKey ?? null,offthreadVideoThreads: input.offthreadVideoThreads ?? null,storageClass: input.storageClass ?? null,requestHandler: input.requestHandler ?? null,diff --git a/packages/renderer/src/render-media.ts b/packages/renderer/src/render-media.tsindex 0196ed682e..eb4eaeb17f 100644--- a/packages/renderer/src/render-media.ts+++ b/packages/renderer/src/render-media.ts@@ -1084,7 +1084,7 @@ export const renderMedia = ({hardwareAcceleration: hardwareAcceleration ?? 'disable',chromeMode: chromeMode ?? 'headless-shell',mediaCacheSizeInBytes: mediaCacheSizeInBytes ?? null,- licenseKey: apiKey ?? licenseKey ?? null,+ licenseKey: licenseKey ?? apiKey ?? null,onLog: defaultOnLog,});};diff --git a/packages/renderer/src/render-still.ts b/packages/renderer/src/render-still.tsindex a42ea76155..e9015fc36f 100644--- a/packages/renderer/src/render-still.ts+++ b/packages/renderer/src/render-still.ts@@ -575,7 +575,7 @@ export const renderStill = (chromeMode: chromeMode ?? 'headless-shell',offthreadVideoThreads: offthreadVideoThreads ?? null,mediaCacheSizeInBytes: mediaCacheSizeInBytes ?? null,- licenseKey: apiKey ?? licenseKey ?? null,+ licenseKey: licenseKey ?? apiKey ?? null,onLog: defaultOnLog,});};