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

Multitrack conference can't handle network changes #6427

Open
MaZZly opened this issue Jun 24, 2024 · 2 comments
Open

Multitrack conference can't handle network changes #6427

MaZZly opened this issue Jun 24, 2024 · 2 comments
Labels

Comments

@MaZZly
Copy link

MaZZly commented Jun 24, 2024

Short description

When switching between wifi and mobile network on a mobile device connected to a multitrack conference room, streams do not start up again and stream(s) stay black or frozen.

Environment

https://test.antmedia.io/test/conference.html (your own example on your own servers).

Similar things happen in our own environment, but I would really like that you have a working example first before trying to fix it on our end, as the problem likely lies in your JS SDK or on the backend server...

Steps to reproduce

  1. Join a room with 2 desktop browsers streaming (can be same computer and webcam)
  2. Join the same room from a mobile device
  3. Make sure everyone sees each other
  4. Switch from Wifi -> 5G/4G, or the other way around.
    • Sometimes it might work fine, try switching network again if it doesn't trigger instantly...

Expected behavior

After a network switch happens on mobile device, and access to internet "stabilizes", the following should happen:

  • The mobile device should see the 2 other streams (coming from the computer)
  • Mobile stream should continue streaming on the 2 desktop windows

Actual behavior

  • Desktop streams stay black on mobile device (desktops see each other)
  • Mobile stream doesn't start showing on desktop browsers again.
  • Various errors about streamIdInUse

Logs

No use since they are full of console log spam about UPDATE_SOUND_LEVEL

Acceptance criteria

For this bug to be considered fixed, the following should apply for your own conference.html example:

With the same setup as in "Steps to reproduce", it should be possible to do at least 10 network changes on the mobile device (waiting for network to stabilize in between switches), and all streams should start showing on all clients every time after network has been switched...

@mekya
Copy link
Contributor

mekya commented Jun 24, 2024

I think it's related to this PR

I've put it to the backlog and set the priority to high.

Cheers

@MaZZly
Copy link
Author

MaZZly commented Jun 24, 2024

@mekya okay good if you already have a potential fix in the pipeline :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Next Sprint
Development

No branches or pull requests

3 participants