diff options
author | Joas Schilling <213943+nickvergessen@users.noreply.github.com> | 2021-11-17 16:01:24 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-17 16:01:24 +0300 |
commit | fb0c8efbab4e4b685c053bbbf1794005aa740427 (patch) | |
tree | f42459875633b88a33095006e8691672f921c8f0 /docs | |
parent | a7358d7492427567f1f28fe7f58c2d419fc180e7 (diff) | |
parent | 0c3288a80adcd7352ff6da55327e03d576abd8c4 (diff) |
Merge pull request #6517 from nextcloud/add-setup-check-for-background-blur
Add setup check for background blur
Diffstat (limited to 'docs')
-rw-r--r-- | docs/system-requirements.md | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/system-requirements.md b/docs/system-requirements.md index 49f425b89..9907eeb6e 100644 --- a/docs/system-requirements.md +++ b/docs/system-requirements.md @@ -22,6 +22,18 @@ Apache and Nginx must use: Other combinations will not work due to the long polling used for chat and signaling messages, see [this issue](https://github.com/nextcloud/spreed/issues/2211#issuecomment-610198026) for details. +### WebAssembly and TensorFlow Lite files + +Since Talk 13 the web server needs to handle WebAssembly (.wasm) and TensorFlow Lite (.tflite) files in a similar way to JavaScript and CSS files, as they will be requested by Talk clients to provide certain features (for example, the background blur when Talk is running in a browser). If Apache is used the default configuration provided by the Nextcloud server should be enough; if NGINX is used please refer to the [_NGINX configuration_ section in Nextcloud Administration manual](https://docs.nextcloud.com/server/stable/admin_manual/installation/nginx.html). + +Besides that the web server should associate _.wasm_ files with the right MIME type. This is not strictly needed, though, but if they are not the browser console may show a warning similar to: +``` +wasm streaming compile failed: TypeError: WebAssembly: Response has unsupported MIME type '' expected 'application/wasm' +falling back to ArrayBuffer instantiation +``` + +In Apache, if _mod_mime_ and _.htaccess_ files are enabled, the default _.htaccess_ file in Nextcloud server associates the _application/wasm_ MIME type with _.wasm_ files. Alternatively the association can be done by adding `AddType application/wasm .wasm` in _/etc/apache2/mods-enabled/mime.conf_, or `application/wasm wasm` to _/etc/mime.types_. Similarly, the default configuration for NGINX does the association too, but alternatively it can be done by adding `application/wasm wasm;` to _/etc/nginx/mime.types_. + ## TURN server A TURN server running on **port 443** (or 80) is required in almost all scenarios, see [Configuring coTURN](TURN.md) for more details. |