Skip to content

Commit 8308896

Browse files
committed
Mention Jitsi support at the .well-known level in Jitsi docs
For matrix-org/matrix-react-sdk#4348
1 parent cb39edb commit 8308896

2 files changed

Lines changed: 16 additions & 0 deletions

File tree

docs/jitsi-dev.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff 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
7979
required `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

8386
Whenever Riot sees a Jitsi widget, it ditches the `url` and instead replaces it with
@@ -92,3 +95,6 @@ call.
9295
Critically, when the widget URL is reconstructed it does *not* take into account the
9396
config.json's `preferredDomain` for Jitsi. If it did this, users would end up on different
9497
conference 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.

docs/jitsi.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff 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
4040
domain 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

4454
Currently the Riot mobile apps do not support custom Jitsi servers and will instead

0 commit comments

Comments
 (0)