Closed benparsons closed 2 weeks 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:
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":
Two configuration options:
"disable_direct_calls": true,
location /.well-known/matrix/client {
default_type "text/plain";
add_header Access-Control-Allow-Origin *;
return 200 '
{
"m.homeserver": {
"base_url": "https://my-server.tld"
},
"im.vector.riot.jitsi": {
"preferredDomain": "my-jitsi.tld"
},
"im.vector.riot": {
"disable_direct_calls": "true"
}
}';
}
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.
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.
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.