jitsi-meet icon indicating copy to clipboard operation
jitsi-meet copied to clipboard

Is JitsiMeetSDK only support P2P instead of using XMPP Websocket?

Open Symous opened this issue 1 year ago • 7 comments

Description:

Hi, team, I am new to Jitsi. sorry first if I raise a stupid question. I use JitsiMeetSDK in my app and build a docker jitsi server, I have just found out that when there is more than 2 users (such as 2 mobile users and 1 pc users), the video on the app can not be seen, but the PC works fine to see all the users, and when the PC leave the meet the app works fine then.

After some tests I found out that setup ENABLE_XMPP_WEBSOCKET=0 in the .env can solve this problem, but for some reasons XMPP WebSocket is important to me and I do not want to turn it off.

I guess when there in 2 users JitsiMeetSDK use P2P mode and switch to XMPP or something else that the SDK do not support so the video can not be ssen. My question is that is JitsiMeetSDK support XMPP now and if there is any thing else I need to configure througn the SDK? thanks!

Symous avatar Dec 28 '23 12:12 Symous

That means your server is not configured correctly. A litlely reason is port 10000 is closed and thus traffic through the JVB is broken.

saghul avatar Jan 08 '24 11:01 saghul

@saghul I have confirmed that the 10000 is opened and no firewall rule blocked that.

Symous avatar Jan 08 '24 11:01 Symous

Please share your JS console logs. Test with 3 browsers, it's easier to gather logs.

saghul avatar Jan 08 '24 11:01 saghul

@saghul are you mean thhe js console logs in browser? my problem is that the browser works well (can see all the participants with web and app) but the mobile app not(can't see others when there are more than 2 participants). so I guess the problem is related to the mobile sdk or docker server. :(

Symous avatar Jan 11 '24 10:01 Symous

Is everyone in the same LAN? IS the mobile user on a different network?

saghul avatar Jan 11 '24 10:01 saghul

@saghul yes, same LAN, the laptops(Web user) and the mobile phones(App user) connect to the same Wi-Fi.

Symous avatar Jan 11 '24 10:01 Symous

That is odd. What versions of the Docker images and of the SDK are you using?

saghul avatar Jan 11 '24 10:01 saghul

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Mar 12 '24 01:03 github-actions[bot]