element-desktop
element-desktop copied to clipboard
Set jitsi server in element desktop conf not working
I have Element 1.7.29 on Pop OS 20.10 I did
nano ~/.config/Element/config.json
The file was not existing. I copy paste in it the following, as explained in here https://github.com/vector-im/element-web/blob/develop/docs/jitsi.md
{
"jitsi": {
"preferredDomain": "jitsi.xxx.fr"
}
}
then I restarted Element and when I click on camera call button in a room, it creates a jitsi.riot.im call and not a jitsi.xxx.fr call as expected.
Was the ~/.config/Element
directory already existing? Is there a ~/.config/Riot
directory you could try putting the config in?
~/.config/Element
directory was existing and there is no ~/.config/Riot
directory.
There was a ~/.config/Element/electron-config.json file though but I didn't modify this one. I wonder if I should not modify that file instead of creating ~/.config/Element/config.json ...
By the way, I found this setting quiet complicated to set. Why not adding an option inside "Audio and Video" call settings of Element, where we set Audio output and Input and Camera...?
It's not exactly the same issue, but it seems like if I'm serving element-web locally, the config.json
settings for
{
"jitsi": {
"preferredDomain": "jitsi.xxx.fr"
}
}
doesn't seem to have any effect at all. It always connects to jitsi.riot.im
. Is this expected?
doesn't seem to have any effect at all. It always connects to jitsi.riot.im. Is this expected?
How are you creating your conferences?
I'm inside of a private room and press the "call" button on top of the room chat. Then the jitsi widget loads, offering a button "Join conference". Pressing this button leads to a connection to jitsi.riot.im.
Sorry if I'm completely misunderstanding it - I'm currently in "getting started with matrix" mode ;-)
Hi there, i see that some people is able to configure a self jitsi server using Jitsi preferred domain, so is the issue still open or have i missed some configuration ?
camelCase "preferredDomain" works for me, snake_case "preferred_domain" not. But camelCase is deprecated says https://github.com/element-hq/element-web/blob/develop/docs/config.md
Hmm both should work in config.json, only camel in well-known/matrix/client
config.json Good evening, everyone! I have the same problem. I'm launching element web in docker. The config file is attached.json from docker itself. I added it and tried to add preferred Domain and preferred_domain
It opens anyway https://meet.element.io/
Thank you for any help!
config.json Good evening, everyone! I have the same problem. I'm launching element web in docker. The config file is attached.json from docker itself. I added it and tried to add preferred Domain and preferred_domain
It opens anyway https://meet.element.io/
Thank you for any help!
Hi,
From our experience, that depends on the client you use :
- Element-web : configuration is read from config.json file on server
- Element-desktop : configuration is read from config.json file on user computer
- Other : if no local config.json found, it reads /.well-known/matrix/client (this must be hosted at : https://example.com/.well-known/matrix/client, your matrix ID being @my.name:example.com) described there
And it depends how you are starting a call.
We found that in a new room if you add the Jitsi Widget and then start a call from the widget you open meet.element.io If you start a call without adding the widget, it's added automaticaly and you open the jitsi from config.json.
@crjo Thank you for the full answer!
Yeah if you add the widget manually then https://github.com/element-hq/element-integration-manager does not respect your config and does always use meet.element.io