element-hq / element-web

A glossy Matrix collaboration client for the web.
https://element.io
GNU Affero General Public License v3.0
11.14k stars 1.98k forks source link

Add a config option to allow Jitsi to be used for 1:1 calls #16700

Closed benparsons closed 2 weeks ago

benparsons commented 3 years ago

If this config feature is enabled, then when a call is started in a DM room, it should initiate a Jitsi flow instead of a 1:1 call.

maxkratz commented 3 years ago

As @SimonBrandner told me, I've duplicated the issue in https://github.com/vector-im/element-web/issues/19249.


Here is my reason to request this feature:

Why would you like to do it?

We are running a Synapse/Element combination at our department at the technical university of Darmstadt with a large number of public rooms for different courses for students. Currently, the UX for calls is very different in personal rooms and in group rooms. It would be nice to be able to completely disable the 1-to-1 call feature for all element clients on our instance to also use Jitsi in personal rooms.


Here is my copy-pasted "solution proposal":

How would you like to achieve it?

Two configuration options:

Ezwen commented 2 years ago

If I may add an extra motivation for this feature: it would possibly make it easier to have 1-1 calls working for homeservers that are behind a NAT, as it's almost impossible to get TURN working when behind a NAT, while Jitsi can work with it.

pierreozoux commented 1 month ago

I wish you could prefer jitsi or elementcall for 1:1 calls. Based on this part of the config: And using the naming from the matrix spec. I think a better name would be:

    "jitsi": {
        "preferred_domain": "meet.element.io",
        "enable_for_dm": "true"
    },
    "element_call": {
        "url": "https://call.element.io",
        "participant_limit": 8,
        "brand": "Element Call",
        "enable_for_dm": "true"
    },

If you'd set this var as true, it would use the default voip widget instead of the specific webrtc element implementation.