Skip to content

Commit 99f8019

Browse files
committed
Update docs per suggestions
1 parent abf475e commit 99f8019

2 files changed

Lines changed: 10 additions & 6 deletions

File tree

‎docs/jitsi-dev.md‎

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,9 @@ communication layer with the client (all widgets *should* be talking to the clie
5050
over `postMessage`, even if they aren't going to be using the widget APIs).
5151

5252
Widgets added with the `/addwidget` command will *not* be wrapped as they are not going
53-
through an integration manager.
53+
through an integration manager. The widgets themselves *should* also work outside of
54+
Riot. Widgets currently have a "pop out" button which opens them in a new tab and
55+
therefore have no connection back to Riot.
5456

5557
## Jitsi widgets from integration managers
5658

@@ -67,7 +69,9 @@ will generate one for the user.
6769

6870
When the user clicks on the call buttons by the composer, the integration manager is
6971
not involved in the slightest. Instead, Riot itself generates a widget event, this time
70-
using the config.json parameters, and publishes that to the room.
72+
using the config.json parameters, and publishes that to the room. If there's only two
73+
people in the room, a plain WebRTC call is made instead of using a widget at all - these
74+
are defined in the Matrix specification.
7175

7276
The Jitsi widget created by Riot uses a local `jitsi.html` wrapper (or one hosted by
7377
`https://riot.im/app` for desktop users or those on non-https domains) as the widget

‎docs/jitsi.md‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ Riot uses [Jitsi](https://jitsi.org/) for conference calls, which provides optio
44
self-hosting your own server and supports most major platforms.
55

66
1:1 calls, or calls between you and one other person, do not use Jitsi. Instead, those
7-
calls work through a TURN server configured on your respective homeservers.
7+
calls work directly between clients or via TURN servers configured on the respective
8+
homeservers.
89

910
There's a number of ways to start a Jitsi call: the easiest way is to click on the
1011
voice or video buttons near the message composer in a room with more than 2 people. This
1112
will add a Jitsi widget which allows anyone in the room to join.
1213

1314
Integration managers (available through the 4 squares in the top right of the room) may
14-
provide their own approaches for adding Jitsi widgets, though these are now considered
15-
legacy and should only be used in specific circumstances.
15+
provide their own approaches for adding Jitsi widgets.
1616

1717
## Configuring Riot to use your self-hosted Jitsi server
1818

@@ -44,4 +44,4 @@ domain will appear later in the URL as a configuration parameter.
4444
Currently the Riot mobile apps do not support custom Jitsi servers and will instead
4545
use the default `jitsi.riot.im` server. When users on the mobile apps join the call,
4646
they will be joining a different conference which has the same name, but not the same
47-
participants.
47+
participants. This is a known bug and which needs to be fixed.

0 commit comments

Comments
 (0)