Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
benparsons opened this issue Mar 16, 2021 · 3 comments · Fixed by element-hq/matrix-react-sdk#112
Closed
Assignees
Labels
A-Jitsi A-VoIP O-Occasional Affects or can be seen by some users regularly or most users rarely T-Enhancement

Comments

@benparsons
Copy link
Member

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.

@SimonBrandner SimonBrandner added O-Occasional Affects or can be seen by some users regularly or most users rarely X-Needs-Product More input needed from the Product team labels Oct 1, 2021
@maxkratz
Copy link
Contributor

maxkratz commented Oct 1, 2021

As @SimonBrandner told me, I've duplicated the issue in #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:

  • For the web-based version, via a configuration option, e.g.:
"disable_direct_calls": true,
  • For all other clients (desktop app, mobile apps, etc.), via a homeserver well-known directive, e.g. with nginx:
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"
                }
        }';
}

@Ezwen
Copy link

Ezwen commented Oct 28, 2021

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
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Jitsi A-VoIP O-Occasional Affects or can be seen by some users regularly or most users rarely T-Enhancement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants