feat(project): init
This commit is contained in:
10
public/wasm/ffmpeg-core-wrapper.js
Normal file
10
public/wasm/ffmpeg-core-wrapper.js
Normal file
@@ -0,0 +1,10 @@
|
||||
importScripts("/wasm/ffmpeg-core.js")
|
||||
|
||||
const originalCreateFFmpegCore = self.createFFmpegCore
|
||||
|
||||
self.createFFmpegCore = (moduleOverrides) =>
|
||||
originalCreateFFmpegCore({
|
||||
...moduleOverrides,
|
||||
INITIAL_MEMORY: 268435456,
|
||||
ALLOW_MEMORY_GROWTH: 1,
|
||||
})
|
||||
Reference in New Issue
Block a user