@remotion/cloudrun 4.0.478 → 4.0.479

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.
@@ -76,6 +76,13 @@ export type RenderMediaOnCloudrunInput = {
76
76
  renderStatusWebhook?: z.infer<typeof CloudRunPayload>['renderStatusWebhook'];
77
77
  } & Partial<ToOptions<typeof BrowserSafeApis.optionsMap.renderMediaOnCloudRun>>;
78
78
  export declare const internalRenderMediaOnCloudrun: ({ cloudRunUrl, serviceName, region, serveUrl, composition, inputProps, codec, forceBucketName, privacy, outName, updateRenderProgress, renderIdOverride, renderStatusWebhook, jpegQuality, audioCodec, audioBitrate, videoBitrate, encodingMaxRate, encodingBufferSize, proResProfile, x264Preset, gopSize, crf, pixelFormat, imageFormat, scale, everyNthFrame, numberOfGifLoops, frameRange, envVariables, chromiumOptions, muted, forceWidth, forceHeight, forceFps, forceDurationInFrames, logLevel, delayRenderTimeoutInMilliseconds, concurrency, enforceAudioTrack, preferLossless, offthreadVideoCacheSizeInBytes, offthreadVideoThreads, colorSpace, downloadBehavior, metadata, mediaCacheSizeInBytes, sampleRate, }: InternalRenderMediaOnCloudrun) => Promise<{
79
+ type: "crash";
80
+ cloudRunEndpoint: string;
81
+ message: "Service crashed without sending a response. Check the logs in GCP console.";
82
+ requestStartTime: string;
83
+ requestCrashTime: string;
84
+ requestElapsedTimeInSeconds: number;
85
+ } | {
79
86
  type: "success";
80
87
  publicUrl?: string | null | undefined;
81
88
  cloudStorageUri: string;
@@ -83,15 +90,15 @@ export declare const internalRenderMediaOnCloudrun: ({ cloudRunUrl, serviceName,
83
90
  bucketName: string;
84
91
  renderId: string;
85
92
  privacy: "project-private" | "public-read";
86
- } | {
93
+ }>;
94
+ export declare const renderMediaOnCloudrun: ({ cloudRunUrl, serviceName, region, serveUrl, composition, inputProps, codec, forceBucketName, privacy, outName, updateRenderProgress, jpegQuality, audioCodec, audioBitrate, videoBitrate, encodingMaxRate, encodingBufferSize, proResProfile, x264Preset, gopSize, crf, pixelFormat, imageFormat, scale, everyNthFrame, numberOfGifLoops, frameRange, envVariables, chromiumOptions, muted, forceWidth, forceHeight, forceFps, forceDurationInFrames, logLevel, delayRenderTimeoutInMilliseconds, concurrency, enforceAudioTrack, preferLossless, offthreadVideoCacheSizeInBytes, colorSpace, downloadBehavior, metadata, renderIdOverride, renderStatusWebhook, offthreadVideoThreads, mediaCacheSizeInBytes, sampleRate, }: RenderMediaOnCloudrunInput) => Promise<{
87
95
  type: "crash";
88
96
  cloudRunEndpoint: string;
89
97
  message: "Service crashed without sending a response. Check the logs in GCP console.";
90
98
  requestStartTime: string;
91
99
  requestCrashTime: string;
92
100
  requestElapsedTimeInSeconds: number;
93
- }>;
94
- export declare const renderMediaOnCloudrun: ({ cloudRunUrl, serviceName, region, serveUrl, composition, inputProps, codec, forceBucketName, privacy, outName, updateRenderProgress, jpegQuality, audioCodec, audioBitrate, videoBitrate, encodingMaxRate, encodingBufferSize, proResProfile, x264Preset, gopSize, crf, pixelFormat, imageFormat, scale, everyNthFrame, numberOfGifLoops, frameRange, envVariables, chromiumOptions, muted, forceWidth, forceHeight, forceFps, forceDurationInFrames, logLevel, delayRenderTimeoutInMilliseconds, concurrency, enforceAudioTrack, preferLossless, offthreadVideoCacheSizeInBytes, colorSpace, downloadBehavior, metadata, renderIdOverride, renderStatusWebhook, offthreadVideoThreads, mediaCacheSizeInBytes, sampleRate, }: RenderMediaOnCloudrunInput) => Promise<{
101
+ } | {
95
102
  type: "success";
96
103
  publicUrl?: string | null | undefined;
97
104
  cloudStorageUri: string;
@@ -99,12 +106,5 @@ export declare const renderMediaOnCloudrun: ({ cloudRunUrl, serviceName, region,
99
106
  bucketName: string;
100
107
  renderId: string;
101
108
  privacy: "project-private" | "public-read";
102
- } | {
103
- type: "crash";
104
- cloudRunEndpoint: string;
105
- message: "Service crashed without sending a response. Check the logs in GCP console.";
106
- requestStartTime: string;
107
- requestCrashTime: string;
108
- requestElapsedTimeInSeconds: number;
109
109
  }>;
110
110
  export {};
@@ -31,13 +31,6 @@ type OptionalParameters = {
31
31
  } & ToOptions<typeof BrowserSafeApis.optionsMap.renderStillOnCloudRun>;
32
32
  export type RenderStillOnCloudrunInput = Partial<OptionalParameters> & MandatoryParameters;
33
33
  export declare const renderStillOnCloudrun: (options: RenderStillOnCloudrunInput) => Promise<{
34
- type: "crash";
35
- cloudRunEndpoint: string;
36
- message: "Service crashed without sending a response. Check the logs in GCP console.";
37
- requestStartTime: string;
38
- requestCrashTime: string;
39
- requestElapsedTimeInSeconds: number;
40
- } | {
41
34
  type: "success";
42
35
  publicUrl?: string | null | undefined;
43
36
  cloudStorageUri: string;
@@ -50,5 +43,12 @@ export declare const renderStillOnCloudrun: (options: RenderStillOnCloudrunInput
50
43
  message: string;
51
44
  name: string;
52
45
  stack: string;
46
+ } | {
47
+ type: "crash";
48
+ cloudRunEndpoint: string;
49
+ message: "Service crashed without sending a response. Check the logs in GCP console.";
50
+ requestStartTime: string;
51
+ requestCrashTime: string;
52
+ requestElapsedTimeInSeconds: number;
53
53
  }>;
54
54
  export {};
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "url": "https://github.com/remotion-dev/remotion/tree/main/packages/cloudrun"
4
4
  },
5
5
  "name": "@remotion/cloudrun",
6
- "version": "4.0.478",
6
+ "version": "4.0.479",
7
7
  "description": "Render Remotion videos on Google Cloud Run",
8
8
  "main": "dist/index.js",
9
9
  "scripts": {
@@ -20,17 +20,17 @@
20
20
  "@google-cloud/storage": "7.15.2",
21
21
  "@google-cloud/resource-manager": "5.3.1",
22
22
  "@google-cloud/logging": "11.2.0",
23
- "@remotion/bundler": "4.0.478",
24
- "@remotion/cli": "4.0.478",
25
- "@remotion/renderer": "4.0.478",
23
+ "@remotion/bundler": "4.0.479",
24
+ "@remotion/cli": "4.0.479",
25
+ "@remotion/renderer": "4.0.479",
26
26
  "google-auth-library": "8.7.0",
27
- "remotion": "4.0.478",
27
+ "remotion": "4.0.479",
28
28
  "zod": "4.3.6"
29
29
  },
30
30
  "devDependencies": {
31
- "@remotion/compositor-linux-x64-gnu": "4.0.478",
31
+ "@remotion/compositor-linux-x64-gnu": "4.0.479",
32
32
  "@types/minimist": "1.2.2",
33
- "@remotion/eslint-config-internal": "4.0.478",
33
+ "@remotion/eslint-config-internal": "4.0.479",
34
34
  "eslint": "9.19.0",
35
35
  "@types/node": "20.12.14",
36
36
  "@typescript/native-preview": "7.0.0-dev.20260217.1"