Skip to content

🎥 Make videos programmatically with React

remove from still

Jonny Burgerc863fd195a7c
diff --git a/packages/cloudrun/src/api/render-still-on-cloudrun.ts b/packages/cloudrun/src/api/render-still-on-cloudrun.ts
index 7373cd8188..a698c05eee 100644
--- a/packages/cloudrun/src/api/render-still-on-cloudrun.ts
+++ b/packages/cloudrun/src/api/render-still-on-cloudrun.ts
@@ -42,7 +42,6 @@ type OptionalParameters = {
forceHeight: number | null;
indent: boolean;
downloadBehavior: DownloadBehavior;
- metadata: Record<string, string> | null;
} & ToOptions<typeof BrowserSafeApis.optionsMap.renderStillOnCloudRun>;
export type RenderStillOnCloudrunInput = Partial<OptionalParameters> &
@@ -96,7 +95,6 @@ const internalRenderStillOnCloudRun = async ({
delayRenderTimeoutInMilliseconds,
offthreadVideoCacheSizeInBytes,
downloadBehavior,
- metadata,
}: OptionalParameters & MandatoryParameters): Promise<
RenderStillOnCloudrunOutput | ErrorResponsePayload | CloudRunCrashResponse
> => {
@@ -138,7 +136,6 @@ const internalRenderStillOnCloudRun = async ({
offthreadVideoCacheSizeInBytes,
clientVersion: VERSION,
downloadBehavior,
- metadata,
};
const client = await getAuthClientForUrl(cloudRunEndpoint);
@@ -244,6 +241,5 @@ export const renderStillOnCloudrun = (options: RenderStillOnCloudrunInput) => {
serveUrl: options.serveUrl,
serviceName: options.serviceName ?? null,
downloadBehavior: options.downloadBehavior ?? {type: 'play-in-browser'},
- metadata: options.metadata ?? null,
});
};
diff --git a/packages/cloudrun/src/cli/commands/still.ts b/packages/cloudrun/src/cli/commands/still.ts
index 4e22ef5572..2ea33b757e 100644
--- a/packages/cloudrun/src/cli/commands/still.ts
+++ b/packages/cloudrun/src/cli/commands/still.ts
@@ -49,7 +49,6 @@ export const stillCommand = async (
userAgent,
disableWebSecurity,
ignoreCertificateErrors,
- metadata,
} = CliInternals.getCliOptions({
isStill: false,
logLevel,
@@ -226,7 +225,6 @@ ${downloadName ? ` Downloaded File = ${downloadName}` : ''}
outName,
logLevel,
delayRenderTimeoutInMilliseconds: puppeteerTimeout,
- metadata,
});
if (res.type === 'crash') {
displayCrashLogs(res, logLevel);
diff --git a/packages/lambda/src/api/render-media-on-lambda.ts b/packages/lambda/src/api/render-media-on-lambda.ts
index 7de62ffbe0..e559500f15 100644
--- a/packages/lambda/src/api/render-media-on-lambda.ts
+++ b/packages/lambda/src/api/render-media-on-lambda.ts
@@ -211,7 +211,6 @@ const wrapped = wrapWithErrorHandling(internalRenderMediaOnLambdaRaw);
* @param params.maxRetries How often rendering a chunk may fail before the media render gets aborted. Default "1"
* @param params.logLevel Level of logging that Lambda function should perform. Default "info".
* @param params.webhook Configuration for webhook called upon completion or timeout of the render.
- * @param params.metadata Metadata to be attached to the S3 object.
* @returns {Promise<RenderMediaOnLambdaOutput>} See documentation for detailed structure
*/
export const renderMediaOnLambda = (
diff --git a/packages/lambda/src/api/render-still-on-lambda.ts b/packages/lambda/src/api/render-still-on-lambda.ts
index 884c88b510..882036a378 100644
--- a/packages/lambda/src/api/render-still-on-lambda.ts
+++ b/packages/lambda/src/api/render-still-on-lambda.ts
@@ -172,7 +172,6 @@ const errorHandled = wrapWithErrorHandling(internalRenderStillOnLambda);
* @param params.maxRetries How often rendering a chunk may fail before the video render gets aborted.
* @param params.frame Which frame should be used for the still image. Default 0.
* @param params.privacy Whether the item in the S3 bucket should be public. Possible values: `"private"` and `"public"`
- * @param params.metadata Metadata to be attached to the S3 object.
* @returns {Promise<RenderStillOnLambdaOutput>} See documentation for exact response structure.
*/
export const renderStillOnLambda = (input: RenderStillOnLambdaInput) => {