Cascaded Bridge screen sharing issue

Hi, I post this here, it’s an issue on github related to screen sharing and cascasded bridge with Octo.

All links containing configuration files are on the link bellow. Sorry in advance, as a new user I am limited to two links.

https://github.com/jitsi/jitsi-meet/issues/9479

Thanks for your attention.

Description:

Jitsi Meet self-hosted Cascaded Bridge.

Hi, I am currently having an issue with my current setup. It appears that when someone stops his screen sharing and starts a new one, only users on the same JVB can see it. To make it again visible to other users, this user has to reconnect to the room. Or users on different JVB have to reconnect to the room.
All logs from the different servers don’t seem to indicate any error.

Setup:

  • Server A :
    • JMS
    • Jicofo
    • Prosody
    • JVB-0
  • Server B:
    • JVB-1
  • Server C:
    • JVB-2

I am using JWT token authentication and websocket protocol.

Jicofo uses SplitBridgeSelectionStrategy to split users on different JVB for one room.

Steps to reproduce:

  1. Connect 8 peoples on the same room : ROOM1
  2. USER-1 is on JVB-0
    USER-2 is on JVB-1
    USER-3 is on JVB-2
    USER-4 is on JVB-0
    USER-5 is on JVB-1
    USER-6 is on JVB-2
  3. All users start to screen sharing. Everythings works as intended, everyone can see everyone’s screen sharing.
  4. USER-1 on JVB-0 stops his screen sharing. Now every other user can see the screen sharing of USER-1.
  5. USER-1 starts screen sharing. Now only USER-4 on JVB-0 can see the screen sharing.

For other users who are not on JVB-0, to be able to see the screen sharing of USER-1, there are two cases:

  • Case 1:
    USER-1 has to logout. And login back to ROOM1. And start a new screen sharing.
  • Case 2:
    Users on JVB-1 and JVB-2 have to logout. And login back to ROOM1.

Expected behavior:

If a user on a specific JVB stops his screen sharing and starts a new one. Every other user on a different JVB should be able to see the screen sharing.

Actual behavior:

Only users on the same JVB can see the screen sharing

Server information:

Server A:

  • Jitsi Meet version:
    • jicofo 1.0+763-1
    • jitsi-meet 1.0.5096-1
    • jitsi-meet-prosody 1.0.5096-1
    • jitsi-meet-turnserver 1.0.5096-1
    • jitsi-videobridge 2.1+518+g2a0848b8-1
  • Operating System:
    • 5.12.13-arch1-2

Server B:

  • Jitsi Meet version:
    • jitsi-videobridge 2.1+518+g2a0848b8-1
  • Operating System:
    • 5.12.13-arch1-2

Server C:

  • Jitsi Meet version:
    • jitsi-videobridge 2.1+518+g2a0848b8-1
  • Operating System:
    • 5.12.13-arch1-2

Client information:

  • Browser / app version:
    • Google Chrome Version 91.0.4472.114
  • Operating System:
    • 5.12.13-arch1-2

Additional information:

Server A configs :

  • Jicofo
    • (See issue link)
  • Jitsi Meet
    • (See issue link)
  • Prosody
    • (See issue link)

Server B config:

  • JVB
    • (See issue link)

Server C config:

  • JVB
    • (See issue link)

UPDATE:

I’ve upgrading from lastest nightly and the issue still persist but are not as consistant than before. It seems like if an initial Screen sharing is still on. Even if an other user cut and start an other screensharing. It’s still remain visible and other JVB. But not always.

jicofo 1.0+769-1
jitsi-meet 1.0.5127-1
jitsi-meet-prosody 1.0.5127-1
jitsi-videobridge 2.1+523+gc8d73432-1

Can each JVB access to UDP/4096 of the other JVBs?

Hello,

Yes, there is no firewall at the moment. JVB are working correctly if users are not shutting down their stream.

@acuD1 what happens if you limit your test to 3 people? Can you still reproduce the issue? Do you have the bridge logs somewhere?

Hi,

I was wondering if this issue had been successfully resolved? As I am encountering a similar issue at the moment. Thanks.

Hi, same behavior.

They are the logs for two server JVB. One server <APP_NAME>-jms and <APP_NAME>-jvb1.
The first server is hosting Jitsi-meet, Prosody and Jicofo.

Hi triggered the issue two times with two differents users. 4 users in total split in two differents JVB.

PS: Sorry there is a lot of charactere, 428k. Reply are limited to 98k. I had to give you raw urls from Github.

Not yet ! Are you able to reproduce exactly the issue I described ?

Hi, I close this topic. I have reinstalled everything under ubuntu server. And everythings run smoothly. Have a great day !