Capítulo 464 de 988

Chapter 464: Faster progress polling

Core Idea

By default, each getRenderProgress() call invokes the render function, which reads the render progress from S3.

Key Concepts

  • Requirements
  • See also

Code Examples

const functionName = speculateFunctionName({
  memorySizeInMb: 2048,
  diskSizeInMb: 2048,
  timeoutInSeconds: 120,
});

const progress = await getRenderProgress({
  renderId: 'd7nlc2y',
  bucketName: 'remotionlambda-useast1-abcdefgh',
  functionName,
  region: 'us-east-1',
  skipLambdaInvocation: true,
});
  • What it demonstrates: Usage pattern for Faster progress polling from the official docs.

Key Takeaways

  1. Understand requirements when working with Faster progress polling.
  2. Understand see also when working with Faster progress polling.

Connects To

  • api: related page in the Lambda (@remotion/lambda) section.
  • Approuterwebhook: related page in the Lambda (@remotion/lambda) section.
  • Authentication: related page in the Lambda (@remotion/lambda) section.