@remotion/lambda-client 4.0.446 → 4.0.448

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/cjs/index.js CHANGED
@@ -70735,7 +70735,7 @@ var validateDownloadBehavior = (downloadBehavior) => {
70735
70735
  }
70736
70736
  }
70737
70737
  };
70738
- var VERSION = "4.0.446";
70738
+ var VERSION = "4.0.448";
70739
70739
  var isColorSupported = () => {
70740
70740
  const env = process.env || {};
70741
70741
  const isForceDisabled = "NO_COLOR" in env;
@@ -71046,6 +71046,10 @@ var printUsefulErrorMessage = (err, logLevel, indent) => {
71046
71046
  Log.info({ indent, logLevel }, "\uD83D\uDCA1 Remotion requires at least Libc 2.35.");
71047
71047
  Log.info({ indent, logLevel }, "\uD83D\uDCA1 Get help for this issue: https://github.com/remotion-dev/remotion/issues/2439");
71048
71048
  }
71049
+ if (err.message.includes("AVCaptureDeviceTypeContinuityCamera")) {
71050
+ Log.info({ indent, logLevel }, "\uD83D\uDCA1 Remotion requires macOS 13 (Ventura) or later.");
71051
+ Log.info({ indent, logLevel }, "\uD83D\uDCA1 Get help for this issue: https://github.com/remotion-dev/remotion/issues/7027");
71052
+ }
71049
71053
  if (err.message.includes("EBADF")) {
71050
71054
  Log.info({ indent, logLevel }, "\uD83D\uDCA1 This error might be fixed by changing your Node version:");
71051
71055
  Log.info({ indent, logLevel }, " https://github.com/remotion-dev/remotion/issues/2452");
@@ -75296,7 +75300,8 @@ var makeLambdaRenderMediaPayload = async ({
75296
75300
  offthreadVideoThreads,
75297
75301
  storageClass,
75298
75302
  requestHandler,
75299
- isProduction
75303
+ isProduction,
75304
+ sampleRate
75300
75305
  }) => {
75301
75306
  const actualCodec = validateLambdaCodec(codec);
75302
75307
  validateServeUrl(serveUrl);
@@ -75374,7 +75379,8 @@ var makeLambdaRenderMediaPayload = async ({
75374
75379
  offthreadVideoThreads: offthreadVideoThreads ?? null,
75375
75380
  mediaCacheSizeInBytes: mediaCacheSizeInBytes ?? null,
75376
75381
  storageClass: storageClass ?? null,
75377
- isProduction
75382
+ isProduction,
75383
+ sampleRate
75378
75384
  };
75379
75385
  };
75380
75386
  var getRenderProgressPayload = ({
@@ -75588,7 +75594,8 @@ var renderMediaOnLambdaOptionalToRequired = (options) => {
75588
75594
  storageClass: options.storageClass ?? null,
75589
75595
  requestHandler: options.requestHandler ?? null,
75590
75596
  mediaCacheSizeInBytes: options.mediaCacheSizeInBytes ?? null,
75591
- isProduction: options.isProduction ?? null
75597
+ isProduction: options.isProduction ?? null,
75598
+ sampleRate: options.sampleRate ?? 48000
75592
75599
  };
75593
75600
  };
75594
75601
  var wrapped = wrapWithErrorHandling(internalRenderMediaOnLambdaRaw);
@@ -57,7 +57,7 @@ export type InnerRenderMediaOnLambdaInput = {
57
57
  requestHandler: RequestHandler | null;
58
58
  isProduction: boolean | null;
59
59
  } & ToOptions<Omit<typeof BrowserSafeApis.optionsMap.renderMediaOnLambda, 'apiKey'>>;
60
- export declare const makeLambdaRenderMediaPayload: ({ rendererFunctionName, frameRange, framesPerLambda, concurrency, forceBucketName: bucketName, codec, composition, serveUrl, imageFormat, inputProps, region, crf, envVariables, pixelFormat, proResProfile, x264Preset, maxRetries, privacy, logLevel, outName, timeoutInMilliseconds, chromiumOptions, scale, everyNthFrame, numberOfGifLoops, audioBitrate, concurrencyPerLambda, audioCodec, forceHeight, forceWidth, forceFps, forceDurationInFrames, webhook, videoBitrate, encodingMaxRate, encodingBufferSize, downloadBehavior, muted, overwrite, jpegQuality, offthreadVideoCacheSizeInBytes, mediaCacheSizeInBytes, deleteAfter, colorSpace, preferLossless, forcePathStyle, metadata, licenseKey, offthreadVideoThreads, storageClass, requestHandler, isProduction, }: InnerRenderMediaOnLambdaInput) => Promise<ServerlessStartPayload<AwsProvider>>;
60
+ export declare const makeLambdaRenderMediaPayload: ({ rendererFunctionName, frameRange, framesPerLambda, concurrency, forceBucketName: bucketName, codec, composition, serveUrl, imageFormat, inputProps, region, crf, envVariables, pixelFormat, proResProfile, x264Preset, maxRetries, privacy, logLevel, outName, timeoutInMilliseconds, chromiumOptions, scale, everyNthFrame, numberOfGifLoops, audioBitrate, concurrencyPerLambda, audioCodec, forceHeight, forceWidth, forceFps, forceDurationInFrames, webhook, videoBitrate, encodingMaxRate, encodingBufferSize, downloadBehavior, muted, overwrite, jpegQuality, offthreadVideoCacheSizeInBytes, mediaCacheSizeInBytes, deleteAfter, colorSpace, preferLossless, forcePathStyle, metadata, licenseKey, offthreadVideoThreads, storageClass, requestHandler, isProduction, sampleRate, }: InnerRenderMediaOnLambdaInput) => Promise<ServerlessStartPayload<AwsProvider>>;
61
61
  export declare const getRenderProgressPayload: ({ bucketName, renderId, s3OutputProvider, logLevel, forcePathStyle, }: GetRenderProgressInput) => ServerlessStatusPayload<AwsProvider>;
62
62
  export declare const makeLambdaRenderStillPayload: ({ serveUrl, inputProps, imageFormat, envVariables, jpegQuality, region, maxRetries, composition, privacy, frame, logLevel, outName, timeoutInMilliseconds, chromiumOptions, scale, downloadBehavior, forceHeight, forceWidth, forceFps, forceDurationInFrames, forceBucketName, offthreadVideoCacheSizeInBytes, deleteAfter, forcePathStyle, licenseKey, storageClass, requestHandler, offthreadVideoThreads, mediaCacheSizeInBytes, isProduction, }: RenderStillOnLambdaNonNullInput) => Promise<{
63
63
  type: ServerlessRoutines.still;
@@ -70078,7 +70078,7 @@ var validateDownloadBehavior = (downloadBehavior) => {
70078
70078
  }
70079
70079
  }
70080
70080
  };
70081
- var VERSION = "4.0.446";
70081
+ var VERSION = "4.0.448";
70082
70082
  var isColorSupported = () => {
70083
70083
  const env = process.env || {};
70084
70084
  const isForceDisabled = "NO_COLOR" in env;
@@ -70389,6 +70389,10 @@ var printUsefulErrorMessage = (err, logLevel, indent) => {
70389
70389
  Log.info({ indent, logLevel }, "\uD83D\uDCA1 Remotion requires at least Libc 2.35.");
70390
70390
  Log.info({ indent, logLevel }, "\uD83D\uDCA1 Get help for this issue: https://github.com/remotion-dev/remotion/issues/2439");
70391
70391
  }
70392
+ if (err.message.includes("AVCaptureDeviceTypeContinuityCamera")) {
70393
+ Log.info({ indent, logLevel }, "\uD83D\uDCA1 Remotion requires macOS 13 (Ventura) or later.");
70394
+ Log.info({ indent, logLevel }, "\uD83D\uDCA1 Get help for this issue: https://github.com/remotion-dev/remotion/issues/7027");
70395
+ }
70392
70396
  if (err.message.includes("EBADF")) {
70393
70397
  Log.info({ indent, logLevel }, "\uD83D\uDCA1 This error might be fixed by changing your Node version:");
70394
70398
  Log.info({ indent, logLevel }, " https://github.com/remotion-dev/remotion/issues/2452");
@@ -75123,7 +75127,8 @@ var makeLambdaRenderMediaPayload = async ({
75123
75127
  offthreadVideoThreads,
75124
75128
  storageClass,
75125
75129
  requestHandler,
75126
- isProduction
75130
+ isProduction,
75131
+ sampleRate
75127
75132
  }) => {
75128
75133
  const actualCodec = validateLambdaCodec(codec);
75129
75134
  validateServeUrl(serveUrl);
@@ -75201,7 +75206,8 @@ var makeLambdaRenderMediaPayload = async ({
75201
75206
  offthreadVideoThreads: offthreadVideoThreads ?? null,
75202
75207
  mediaCacheSizeInBytes: mediaCacheSizeInBytes ?? null,
75203
75208
  storageClass: storageClass ?? null,
75204
- isProduction
75209
+ isProduction,
75210
+ sampleRate
75205
75211
  };
75206
75212
  };
75207
75213
  var getRenderProgressPayload = ({
@@ -75415,7 +75421,8 @@ var renderMediaOnLambdaOptionalToRequired = (options) => {
75415
75421
  storageClass: options.storageClass ?? null,
75416
75422
  requestHandler: options.requestHandler ?? null,
75417
75423
  mediaCacheSizeInBytes: options.mediaCacheSizeInBytes ?? null,
75418
- isProduction: options.isProduction ?? null
75424
+ isProduction: options.isProduction ?? null,
75425
+ sampleRate: options.sampleRate ?? 48000
75419
75426
  };
75420
75427
  };
75421
75428
  var wrapped = wrapWithErrorHandling(internalRenderMediaOnLambdaRaw);
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "url": "https://github.com/remotion-dev/remotion/tree/main/packages/lambda-client"
4
4
  },
5
5
  "name": "@remotion/lambda-client",
6
- "version": "4.0.446",
6
+ "version": "4.0.448",
7
7
  "main": "dist/cjs/index.js",
8
8
  "sideEffects": false,
9
9
  "scripts": {
@@ -27,12 +27,12 @@
27
27
  "@aws-sdk/lib-storage": "3.986.0",
28
28
  "mime-types": "2.1.34",
29
29
  "@aws-sdk/credential-provider-ini": "3.972.5",
30
- "@remotion/serverless-client": "4.0.446",
30
+ "@remotion/serverless-client": "4.0.448",
31
31
  "@types/express": "^5.0.0",
32
32
  "express": "4.21.0",
33
- "@remotion/eslint-config-internal": "4.0.446",
33
+ "@remotion/eslint-config-internal": "4.0.448",
34
34
  "eslint": "9.19.0",
35
- "next": "16.1.7",
35
+ "next": "16.2.3",
36
36
  "@types/mime-types": "2.1.1",
37
37
  "@typescript/native-preview": "7.0.0-dev.20260217.1"
38
38
  },