Skip to content

Commit 287c84a

Browse files
committed
Revert "Update generate-video.ts"
This reverts commit 6e6374b.
1 parent 25bf314 commit 287c84a

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

apps/worker/src/utils/generate-video.ts

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,6 @@ export async function generateVideo(data: GenerateVideoData): Promise<string> {
5050
backgroundBlurPx: data.backgroundBlurPx,
5151
backgroundVideo: data.backgroundVideo,
5252
},
53-
// Add chromium options to fix AudioContext issues in headless environments
54-
chromiumOptions: {
55-
disableWebSecurity: true,
56-
gl: "swiftshader", // Use software rendering to avoid GPU/audio device dependencies
57-
},
5853
});
5954

6055
// Render the video
@@ -73,11 +68,6 @@ export async function generateVideo(data: GenerateVideoData): Promise<string> {
7368
backgroundBlurPx: data.backgroundBlurPx,
7469
backgroundVideo: data.backgroundVideo,
7570
},
76-
// Add chromium options to fix AudioContext issues in headless environments
77-
chromiumOptions: {
78-
disableWebSecurity: true,
79-
gl: "swiftshader", // Use software rendering to avoid GPU/audio device dependencies
80-
},
8171
});
8272

8373
return outputPath;

0 commit comments

Comments
 (0)