Skip to content
This repository was archived by the owner on Mar 22, 2023. It is now read-only.

Commit cf1c4b9

Browse files
committed
Added information about setting max streams in bbb-webrtc-sfu
1 parent a627581 commit cf1c4b9

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

_posts/2019-02-14-customize.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -445,6 +445,29 @@ disableMultipleKurentos
445445

446446
and run `sudo bbb-conf --restart` again.
447447

448+
### Limit overall number of webcams
449+
450+
On a typical BigBlueButton server Kurento can handle about 1000 media streams. A media stream is created when a user broadcasts or receives a webcam or screen share video, or when a user joins audio listening only. If your server will be using webcams, you can set limits per user, per room, and an overall limit per server in `/usr/local/bigbluebutton/bbb-webrtc-sfu/config/default.yml`. The default is no limit.
451+
452+
```
453+
mediaThresholds:
454+
global: 0
455+
perRoom: 0
456+
perUser: 0
457+
```
458+
459+
For example, the following settings would limit the overall number of media across all meetings to 1000 streams, the maximum number of webcam streams per meeting to 300, and no limit on the number of webcam streams per user.
460+
461+
```
462+
mediaThresholds:
463+
global: 1000
464+
perRoom: 300
465+
perUser: 0
466+
```
467+
468+
If any of these thresholds are reached, then a user will receive a "Media resources not available (2002)" error when sharing webcams.
469+
470+
Recommend you [enable multiple Kurento](customize.html#run-three-parallel-kurento-media-servers) servers, thereby having one Kurento server for webcams, one for screen share, and one for listen only streams. The settings apply to each Kurento server, so in the above example each Kurento server would have a maximum of 1000 media streams.
448471

449472
## Audio
450473

0 commit comments

Comments
 (0)