-
Notifications
You must be signed in to change notification settings - Fork 161
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
Feature request: Total number of streams #74
Comments
This is a good idea. I am not too familiar with the details regarding BBB streaming, do you have any resources how exactly BBB handles streams because I think your calculation is wrong. If you have your camera turned on, you as the user don't need to stream your own camera feed. Under this assumption the formula becomes: Example: 2/4 (2 cameras, 4 users), users A & B have their cameras turned on.
For a total of 6 camera streams. Which would give us the formula: So your example; Room 1: 1/6, Room 2: 3/4 cameras/users would become: This of course assumes you do not stream your own camera feed. Do you have any evidence on the contrary? |
You might be absolutely right. I have no evidence of it being otherwise. |
WIth the increase of requests due to Covid-19 there's an increasing need to get this data. Is there a way to hack/patch your solution to include this on short-term? |
I'll quickly look into it today if it is possible to get some more information if my previous comment is correct. In the meantime you can hack on your own fork and create a separate docker image. To add a new metric simply follow the template set by other metrics. The "main" function for returning metrics is here:
|
It would be very useful to have a metric for the total number of streams currently being processed.
Currently we can see users (with or without cam) and rooms, but there's no relation (users/cams per room) so the load distribution is still hard to calculate.
Example: 10 users in 2 rooms. Room 1 has 6 users with 1 cam, room 2 has 4 users with 3 cams. This totals to 18 streams (6 * 1 + 4 * 3 = 18). However if it would be 10 users in 1 room, with 3 cams the total would be 30 streams (10*3).
Even though the total number of users and active cams is the same, this would result in higher load on the server.
This is why I think total number of streams would be a very valuable metric to have.
The text was updated successfully, but these errors were encountered: