質問編集履歴
1
問題点追加
title
CHANGED
File without changes
|
body
CHANGED
@@ -1,11 +1,15 @@
|
|
1
1
|
タイトルの通り昨日まで本番環境で問題なく機能してたライブラリが使えなくなりました。
|
2
|
-
調べたらhttps://githubmemory.com/repo/ffmpegwasm/ffmpeg.wasm/issues/231のトラブルと
|
2
|
+
調べたらhttps://githubmemory.com/repo/ffmpegwasm/ffmpeg.wasm/issues/231のトラブルとおそらく一緒でグーグルの更新によって機能しなくなっている感じです。
|
3
3
|
ef8f87eb-2d66-4bad-9f9e-d11c8e8a0401:22 Uncaught (in promise) ReferenceError: SharedArrayBuffer is not definedとライブラリからエラーがでます。
|
4
4
|
解決策が記述してあるところで翻訳しても意味がわかりませんでした。申し訳ないです。。
|
5
5
|
|
6
|
+
ffmpegライブラリからの例外エラーとして
|
7
|
+
```fmpeg.js
|
8
|
+
requested a shared WebAssembly.Memory but the returned buffer is not a SharedArrayBuffer, indicating that while the browser has SharedArrayBuffer it does not have WebAssembly threads support - you may need to set a flag"),h&&console.log("(on node you may need: --experimental-wasm-threads --experimental-wasm-bulk-memory and also use a recent version)
|
9
|
+
```
|
10
|
+
|
6
11
|
他に気になる点として、googleのISSUESからメッセージがありました。
|
7
|
-
```
|
12
|
+
```
|
8
|
-
ISSUES
|
9
13
|
SharedArrayBuffer usage is restricted to cross-origin isolated sites
|
10
14
|
SharedArrayBuffers (SABs) can be used to construct high-resolution timers. High-resolution timers simplify Spectre attacks on cross-origin resources.
|
11
15
|
To mitigate security risks across browsers, SharedArrayBuffers are gated behind cross-origin isolated contexts starting with Chrome 92 (July 2021). To continue using SharedArrayBuffers, please ensure that this page opts-into cross-origin isolation by setting Cross-Origin-Opener-Policy and Cross-Origin-Embedder-Policy appropriately.
|