Skip to content

Multitrack conference can't handle network changes #6427

Closed
@MaZZly

Description

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 to 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...

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

Type

No type

Projects

  • Status

    ✅ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions