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

Compute load based on audio, video and screenshare streams #446

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

pielonet
Copy link
Contributor

@pielonet pielonet commented Feb 23, 2021

Hi,

I propose this pull request based on this one #445
I add the enhancement that load is actually computed based on actual audio and video streams.
We add up 3 values :

  • Normal audio users count for 1
  • Webcam users count for 10 (a webcam stream is roughly equivalent to 10 audio streams in terms of traffic)
  • A screenshare counts for 20 (a sharescreen stream is roughly equivalent to 2 webcam streams in terms of traffic)

These values are multiplied by the actual number of participants to get the actual number of streams treated by the server (SFU principle).

@pielonet pielonet changed the title Compute load based on video streams Compute load based on audio, video and screenshare streams Feb 23, 2021
@einhirn
Copy link
Contributor

einhirn commented Mar 4, 2021

Perhaps this can be combined with #476 - this uses a configurable base load for the whole time (just reverts to actual user count after a configurable time), the PR I created with @defnull's code computes the actual count of video and audio streams.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants