mirror of
https://github.com/SchildiChat/element-web.git
synced 2024-10-01 01:26:12 -04:00
Merge pull request #13047 from vector-im/travis/jitsi/wellknown
Mention Jitsi support at the .well-known level in Jitsi docs
This commit is contained in:
commit
80866305d4
@ -78,6 +78,9 @@ The Jitsi widget created by Riot uses a local `jitsi.html` wrapper (or one hoste
|
|||||||
`url`. The wrapper has some basic functionality for talking to Riot to ensure the
|
`url`. The wrapper has some basic functionality for talking to Riot to ensure the
|
||||||
required `postMessage` calls are fulfilled.
|
required `postMessage` calls are fulfilled.
|
||||||
|
|
||||||
|
**Note**: Per [jitsi.md](./jitsi.md) the `preferredDomain` can also come from the server's
|
||||||
|
client .well-known data.
|
||||||
|
|
||||||
## The Jitsi wrapper in Riot
|
## The Jitsi wrapper in Riot
|
||||||
|
|
||||||
Whenever Riot sees a Jitsi widget, it ditches the `url` and instead replaces it with
|
Whenever Riot sees a Jitsi widget, it ditches the `url` and instead replaces it with
|
||||||
@ -92,3 +95,6 @@ call.
|
|||||||
Critically, when the widget URL is reconstructed it does *not* take into account the
|
Critically, when the widget URL is reconstructed it does *not* take into account the
|
||||||
config.json's `preferredDomain` for Jitsi. If it did this, users would end up on different
|
config.json's `preferredDomain` for Jitsi. If it did this, users would end up on different
|
||||||
conference servers and therefore different calls entirely.
|
conference servers and therefore different calls entirely.
|
||||||
|
|
||||||
|
**Note**: Per [jitsi.md](./jitsi.md) the `preferredDomain` can also come from the server's
|
||||||
|
client .well-known data.
|
||||||
|
@ -39,6 +39,16 @@ should start a new conference on your Jitsi server.
|
|||||||
**Note**: The widget URL will point to a `jitsi.html` page hosted by Riot. The Jitsi
|
**Note**: The widget URL will point to a `jitsi.html` page hosted by Riot. The Jitsi
|
||||||
domain will appear later in the URL as a configuration parameter.
|
domain will appear later in the URL as a configuration parameter.
|
||||||
|
|
||||||
|
**Hint**: If you want everyone on your homeserver to use the same Jitsi server by
|
||||||
|
default, set the following on your homeserver's `/.well-known/matrix/client` config:
|
||||||
|
```json
|
||||||
|
{
|
||||||
|
"im.vector.riot.jitsi": {
|
||||||
|
"preferredDomain": "your.jitsi.example.org"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
## Mobile app support
|
## Mobile app support
|
||||||
|
|
||||||
Currently the Riot mobile apps do not support custom Jitsi servers and will instead
|
Currently the Riot mobile apps do not support custom Jitsi servers and will instead
|
||||||
|
Loading…
Reference in New Issue
Block a user