🎥 Make videos programmatically with React
download media
Jonny Burger1779ae93c679
diff --git a/packages/docs/docs/lambda/downloadmedia.md b/packages/docs/docs/lambda/downloadmedia.mdindex c9fce4e1eb..66d87fe2a9 100644--- a/packages/docs/docs/lambda/downloadmedia.md+++ b/packages/docs/docs/lambda/downloadmedia.md@@ -6,7 +6,7 @@ slug: /lambda/downloadmediacrumb: "Lambda API"----Downloads a rendered video, audio or still to the disk of the machine the API is called from.+Downloads a rendered video, audio or still to the disk of the machine this API is called from.If you want to let the user download a result to their machine, use [`renderMediaOnLambda()` -> `downloadBehavior`](/docs/lambda/rendermediaonlambda#downloadbehavior) instead.diff --git a/packages/lambda/src/api/download-media.ts b/packages/lambda/src/api/download-media.tsindex 8c27d27b8e..822df52ecf 100644--- a/packages/lambda/src/api/download-media.ts+++ b/packages/lambda/src/api/download-media.ts@@ -23,7 +23,7 @@ export type DownloadMediaOutput = {};/**- * @description Triggers a render on a lambda given a composition and a lambda function.+ * @description Downloads a rendered video, audio or still to the disk of the machine this API is called from.* @see [Documentation](https://remotion.dev/docs/lambda/downloadmedia)* @param params.region The AWS region in which the media resides.* @param params.bucketName The `bucketName` that was specified during the render.