Closed mkhatib closed 1 year ago
The local server needs to serve our pages with 2 headers in order for the browser to allow us to use SharedArrayBuffer which ffmpeg depends on. This works non-locally because we already set these headers in our deployed server.
SharedArrayBuffer
Cross-Origin-Opener-Policy: same-origin Cross-Origin-Embedder-Policy: require-corp
The local server needs to serve our pages with 2 headers in order for the browser to allow us to use
SharedArrayBuffer
which ffmpeg depends on. This works non-locally because we already set these headers in our deployed server.