-
-
Notifications
You must be signed in to change notification settings - Fork 104
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
mechanism for a homeserver to suggest a default jitsi server to use for clients #604
Comments
It's unclear how this would interact with the It's also somewhat unclear whether this belongs in the matrix protocol at all, given jitsi integration is a riot-specific extension (so perhaps what we need is a way for servers to expose client-specific configuration parameters in a generic way?). |
Jitsi is in the spec under the widgets banner, but indeed there's no definition for how clients acquire their defaults. |
Could possibly use matrix-org/matrix-spec-proposals#2301 or matrix-org/matrix-spec-proposals#2063 |
As end user perspective: The unique thing with Jitsi within Matrix (or Riot/client) is that instead of "just" a widget, there exist dedicated call button for it, making it in some sense part of at least Riot, if not Matrix. As developer'ish perspective: Most proper 'author' to define what Jitsi ought to be used would be room admins, which would bring us back into integration manager(s) and such. Does current way of using IM also apply to riot call button method? This method would ofcourse need the IM alltogether and generally focus to make custom one ever so easier to deploy. Next best thing would be the client well-known, that would at least point HS users towards "HS-trusted" Jitsi, while that method loses control over room specific one. Maybe even user-overridable setting, while I don't know feasibility of that.. And ofcourse all of these could be supported at once, within well thought priorities. And just as I was about to finish, indeed somthing like @uhoreg just linked could also work... Thing is that most privacy-minded persons will have something to say no matter what is done, at the same time this shouldn't be too hard, especially in end-user perspective.. While the issue there remains that "who should control what Jitsi-instance is used". |
So far the proposal is for clients to just do it through .well-known, as they're allowed to: matrix-org/matrix-react-sdk#4348 |
I like the idea of user default Jitsi offer in .well-known, if room wants to offer somwthing else, I guess they still can(?) So this becomes an question of exactly default Jitsi-instance for user :) |
For anyone else stumbling across this issue: |
Indeed it does. See second half of /~https://github.com/vector-im/element-web/blob/develop/docs/jitsi.md#configuring-element-to-use-your-self-hosted-jitsi-server |
Yep, it came more or less after this ticket, so I guess closing as implemented should be done :) |
Would probably be good for it to documented in the spec rather than a client's doc |
I think I did add the good line on nginx instead of a ourjitsi.defis.info Should I write "preferredDomain": "https://ourjitsi.defis.info/" instead of "preferredDomain": "ourjitsi.defis.info" ? |
That config only affects the call button. When using an integrations manager like your screenshot shows it always uses the one it has configured internally. |
OK, got it. Thank you for pointing this out. |
That jitsi.html is just a wrapper. After clicking join conference see where the iframe inside is pointing. |
I see. Well it sadly sends to https://jitsi.riot.im/JitsiMsrfdhjwrugogrlgvaloyubg |
Is it (jitsi server in use) something I can change if I make my custom build of Element client (for all platforms)? |
@alexander-potemkin a custom build of Element is not required. Element already has a feature that lets you or a homeserver pick a specific Jitsi server, see /~https://github.com/vector-im/element-web/blob/develop/docs/jitsi.md#configuring-element-to-use-your-self-hosted-jitsi-server. (This issue is about making that part of Matrix so all clients can use it) |
@aaronraimist , thanks very much, got it now. I'm a newbie in Element/Matrix and I'm trying to make my head around the voice calls - would it be right to say, that Matrix itself doesn't care how the calls are implemented? So Element decided to use Jitsi for that matter, wrapping signaling things, that Jitsi is missing? For example, FluffyChat (which seems to be the only one viable Element alternative) seems to use just plain WebRTC for that and that's also fine? And what's the place (and high-level technical architecture) of call.element.io in all that? It feels like a drop-in meet.jit.si replacement, but what's the use/business case for that? |
@alexander-potemkin Yes that is my understanding.
Element uses Jitsi for group calls and plain WebRTC for 1:1 calls.
Yes.
My understanding is they plan to replace Jitsi (and maybe plain WebRTC for 1:1 calls) with Element Call. It gives them much more control and flexibility. For example Element Call finally allows for screensharing in the Element Desktop app which they found difficult to accomplish with Jitsi. |
Thank you, @aaronraimist ! If Element call replaces Jitsi and/or WebRTC, how could Element then be self-hosted / isolated from the outside world? |
Element call is also self-hostable. Heck even peer-to-peer right now with an SFU-mesh coming later |
@t3chguy , thanks I missed that the source code is available as well. Don't you aware, by any chance, why Jitsi wasn't a match? |
Jitsi has no roadmap project for an SFU-mesh approach - forking it would bring with it a much heavier project lots of which Element doesn't need, like XMPP, prosody auth, SIP bridging |
Also this ticket is older than the "Element Call" project, which should kind of replace Jitsi at some point in the context. Jitsi isn't likely magically going away or disappear all of the sudden, but that is whole another thing in itself then :) |
As a homeserver admin, I might like to suggest a default jitsi server other than
jitsi.riot.im
to people who connect with riot to my server.The text was updated successfully, but these errors were encountered: