element-hq / riot-android

A glossy Matrix collaboration client for Android
Apache License 2.0
1.4k stars 394 forks source link

Replace http://jitsi.riot.im with self hosted server #3443

Open rajil opened 4 years ago

rajil commented 4 years ago

The riot server is hardcoded in https://github.com/vector-im/riot-android/blob/develop/vector/src/main/java/im/vector/activity/JitsiCallActivity.java. I have a self hosted Jitsi server and was hoping to use it instead of https://jitsi.riot.im/.

What is required to build an apk with the URL change and still have google notifications work?

KuenzelIT commented 4 years ago

We'd also like to replace the jitsi server with a self-hosted version. Is this somewhere on the roadmap of Riot Android?

bahur142 commented 4 years ago

It would be better an Input field in the preferences menu. So everyone could have the chance to change the preferred Jitsi server.

ara4n commented 4 years ago

the Correct way to do this now is to pull the server config from .well-known as per https://github.com/matrix-org/matrix-react-sdk/pull/4348. However, all our work is going into RiotX right now. If someone wants to contribute a PR then please go for it.

MelBourbon commented 4 years ago

I integrated my own jitsi instance into riot.im web and are able to start a conference by using the browser. But if a group member with the android app want's to join this conference by clicking on "video" he/she will start a room on jitsi.riot.im with the same name as the room is on my instance and is not able to join. Is this know. Is there a workaround?

MisterRager commented 4 years ago

See https://github.com/vector-im/riot-android/pull/3462

ptman commented 4 years ago

so this is part of 0.9.11 release but not closed?

MelBourbon commented 4 years ago

so this is part of 0.9.11 release but not closed?

Probably because this is only resolved 50%. If you now start a videoconference by using jitsi web on a server where a different jitis instance is configured you are able to join this conference with jitsi on android. But if you start a conference on jitsi for android, the conference is still started on jitsi.riot.im. This is so far what I tested with riot-android 0.9.11

rajil commented 4 years ago

@MelBourbon Well spotted. @MisterRager Any reason, why this limitation? In my case there may not be a riot-web in the mix to start a conference. The conference will be started by an android user.