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

Jitsi Meet selfhosted server with JWT auth wotking in Mobile RocketChat? #2092

Closed
arpsyapathy opened this issue May 8, 2020 · 14 comments
Closed

Comments

@arpsyapathy
Copy link

Hi all!

Jitsi Meet selfhosted server with JWT auth wotking in Mobile RocketChat?

When i try join to video call i have endless spinning loading wheel =(

@ankar84
Copy link
Contributor

ankar84 commented May 10, 2020

Jitsi Meet selfhosted server with JWT auth wotking in Mobile RocketChat?

Yes, it does!
Try latest RN application, check Jitsi and RC JWT settings.

@gerroon
Copy link

gerroon commented May 19, 2020

I have Jitsi with JWT works with the desktop Rocket.Chat clients but not the Android clients. The Android client cant seem to be able to initiate video or audio chat.

it says connecting to the meeting and then drops the connection.

@arpsyapathy
Copy link
Author

arpsyapathy commented May 19, 2020

@gerroon +1
I have the same problem! :(

I have own selfhosted Jitsi server.
@ankar84 You have self-hosted Jitsi server or use public?

@ankar84
Copy link
Contributor

ankar84 commented May 20, 2020

@arpsyapathy self hosted Jitsi server with 2 virtual host's - first with jtw authorization and second guest without authorization.
Call can be started only by authorized user, but guest can then join that call.

@gerroon
Copy link

gerroon commented May 20, 2020

Not sure how you made it work. Like I said, I can initiate video calls via selfhosted Jitsi on the desktop clients no problem, but the Android client cant do it in the same rooms. How would I debug this?

@ankar84
Copy link
Contributor

ankar84 commented May 20, 2020

Can you please post gif or video with problem? Where we can see issue and client version.

@gerroon
Copy link

gerroon commented May 20, 2020

I cant get a video of it, it happens really fast It says "connecting to meeting" then a popup shows up with 2 buttons but I cant read what it says on the buttons because happens way too fast

Android 9, Havos Os
Rocket.Chat 4.7.0.2121
Server version 3.2.1

How do I make sure I am using my own Jitsi versions? Like I said I can start video chats on the desktop clients no problem

Here is how it is setup.

https://i.imgur.com/MPHRPU3.png

Here I triied to get some logs from Jitsi when I press video on the mobile client. There is insane amount of logs printed on the terminal with many errors, I hope I got a glimpse of it

https://bin.privacytools.io/?97488a5ff7e92140#KaddyDH0veygE1/jsx39ZksaucpgPe4glTGodZkJzqo=

@djorkaeffalexandre
Copy link
Collaborator

@gerroon your SSL certificate is correctly configured at your jitsi-meet server?
Maybe it has some mismatch, check if the secure is showed by browser
Screen Shot 2020-05-20 at 12 52 23

@gerroon
Copy link

gerroon commented May 20, 2020

My SSL cert is fine because I can use Jitsi alright in the browsers, or Jitsi mobile or with its own desktop apps. I am using the Jitsi Docker install and proxying it with Apache

As I mentioned the Rocket.Chat desktop apps have no problem using the video chat which I set up with my own Jitsi instance using JWT.

@djorkaeffalexandre
Copy link
Collaborator

@gerroon can you test this at some iOS device?

@gerroon
Copy link

gerroon commented May 20, 2020

I will try it that is what the wifes are for. I will restart my server and upgrade Jitsi as well, in case it is a server issue. It sounds like this should work in theory.

@gerroon
Copy link

gerroon commented May 20, 2020

Ok , some progress. I did all the updates etc. The main issue of not connecting to the server could be an issue with my wifi, since my desktop client is connecting to the server over the wire. I will mess with it later.

I can connect to it using LTE, I can initiate a video call however not much use. I seem to have 2 issues.

  • When the other side starts a video call it is not show in the room on the Android app (using the Gplay version but I do not have Gplay on this device) I assume this must be a google messaging thing, although nothing is show even when I am in the room actively.

  • When I start a video call in the app, the call drops when the otherside joins the chat. What is weird is that it says "jitsi.org" on the video feed of the Desktop client but not on the android app video. Normally the RC desktop clients do not show any jitsi.org watermark on the video feed itself. Quite curious.

@arpsyapathy
Copy link
Author

@arpsyapathy self hosted Jitsi server with 2 virtual host's - first with jtw authorization and second guest without authorization.
Call can be started only by authorized user, but guest can then join that call.

@ankar84 can you show me your prosody conf with virtual hosts?

@ankar84
Copy link
Contributor

ankar84 commented May 21, 2020

@ankar84 can you show me your prosody conf with virtual hosts?

Sure #1356 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants