Skip to content

Commit 6504c1c

Browse files
committed
Merge branch 'master' into develop
2 parents bdf5397 + e891e4d commit 6504c1c

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

FAQ.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
## wasm streaming compile failed
2+
3+
解码资源加载错误提示
4+
```
5+
wasm streaming compile failed: TypeError: Failed to execute 'compile' on 'WebAssembly': Incorrect response MIME type. Expected 'application/wasm'.
6+
falling back to ArrayBuffer instantiation
7+
```
8+
9+
原因:响应服务不支持 `application/wasm` 响应类型
10+
11+
https://stackoverflow.com/questions/50589083/typeerror-failed-to-execute-compile-on-webassembly-incorrect-response-mime
12+
13+
解决方案:
14+
1. 配置响应服务支持 `application/wasm` 响应类型。
15+
116
## 对讲(talk)
217

318
在浏览器中使用麦克风是需要允许的,所以需要用户允许。 [获取麦克风权限](https://developer.mozilla.org/zh-CN/docs/Web/API/WebRTC_API/Build_a_phone_with_peerjs/Connect_peers/Get_microphone_permission)

0 commit comments

Comments
 (0)