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

[1.x] Stability issues #3439

Closed
Niks950 opened this issue Sep 30, 2024 · 6 comments
Closed

[1.x] Stability issues #3439

Niks950 opened this issue Sep 30, 2024 · 6 comments
Labels
multistream Related to Janus 1.x

Comments

@Niks950
Copy link

Niks950 commented Sep 30, 2024

What version of Janus is this happening on?
1.2.4
commit-hash: 4f8f00f

Have you tested a more recent version of Janus too?
Yes. 1.3.0

Additional context
Hello
I have several problems using the VideoRoom plugin.

  1. Audio or video from the participants is interrupted and freezes.
  2. Docker container with Janus restarts when a large number of participants connect to the video room
    Problems occur if there are a large number of participants in the room, more than 100.

How can I determine the cause of these problems?

@Niks950 Niks950 added the multistream Related to Janus 1.x label Sep 30, 2024
@lminiero
Copy link
Member

lminiero commented Oct 1, 2024

The VideoRoom is not meant to handle that many users, at least not out of the box. The helper threads functionality in #3067 should help, but that also depends on what you mean by 100 participants, and how they're handled (multistream vs separate connections): if they're all active, you're creating a huge mesh that will basically kill participants with the bandwidth.

@Niks950
Copy link
Author

Niks950 commented Oct 1, 2024

Yes, I use multistream. In my scenario, there are about 100 people in the video room, but audio and video streams are broadcast only from 2-3 people, the rest of the participants are listeners, these participants often have the problem that they do not see or hear video or audio from those 2-3 people. Reconnecting to the video room often solves the problem.

@lminiero
Copy link
Member

lminiero commented Oct 1, 2024

Then see what I said about helper threads, that are disabled by default.

@Niks950
Copy link
Author

Niks950 commented Oct 1, 2024

Thank you! Can you give a recommendation on setting the number of helper threads in my case, please? When about 100 participants join the room at about the same time.

@lminiero
Copy link
Member

lminiero commented Oct 4, 2024

I don't have any recommendation. It's up to you to experiment. If you check the group, there were some discussions on how to use helper threads for the Streaming plugin, and it's not that different in the VideoRoom (even though the approach is different). Start with 1, check the results, then try more. You definitely don't want a 100.

@Niks950
Copy link
Author

Niks950 commented Oct 7, 2024

Okay, thank you!

@Niks950 Niks950 closed this as completed Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
multistream Related to Janus 1.x
Projects
None yet
Development

No branches or pull requests

2 participants