File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 ;
You can’t perform that action at this time.
0 commit comments