File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -78,6 +78,9 @@ The Jitsi widget created by Riot uses a local `jitsi.html` wrapper (or one hoste
7878` url ` . The wrapper has some basic functionality for talking to Riot to ensure the
7979required ` postMessage ` calls are fulfilled.
8080
81+ ** Note** : Per [ jitsi.md] ( ./jitsi.md ) the ` preferredDomain ` can also come from the server's
82+ client .well-known data.
83+
8184## The Jitsi wrapper in Riot
8285
8386Whenever Riot sees a Jitsi widget, it ditches the ` url ` and instead replaces it with
9295Critically, when the widget URL is reconstructed it does * not* take into account the
9396config.json's ` preferredDomain ` for Jitsi. If it did this, users would end up on different
9497conference servers and therefore different calls entirely.
98+
99+ ** Note** : Per [ jitsi.md] ( ./jitsi.md ) the ` preferredDomain ` can also come from the server's
100+ client .well-known data.
Original file line number Diff line number Diff line change @@ -39,6 +39,16 @@ should start a new conference on your Jitsi server.
3939** Note** : The widget URL will point to a ` jitsi.html ` page hosted by Riot. The Jitsi
4040domain will appear later in the URL as a configuration parameter.
4141
42+ ** Hint** : If you want everyone on your homeserver to use the same Jitsi server by
43+ default, set the following on your homeserver's ` /.well-known/matrix/client ` config:
44+ ``` json
45+ {
46+ "im.vector.riot.jitsi" : {
47+ "preferredDomain" : " your.jitsi.example.org"
48+ }
49+ }
50+ ```
51+
4252## Mobile app support
4353
4454Currently the Riot mobile apps do not support custom Jitsi servers and will instead
You can’t perform that action at this time.
0 commit comments