Skip to content

Commit

Permalink
Merge pull request #63 from mconf/master
Browse files Browse the repository at this point in the history
Resync up to v2.4.19
  • Loading branch information
antobinary authored Sep 15, 2020
2 parents 2a6343f + e8f46ac commit 2b77265
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions config/custom-environment-variables.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,11 @@ kurentoAllowedCandidateIps:
__name: KURENTO_ALLOWED_CANDIDATE_IPS
__format: json

mediaThresholds:
global: GLOBAL_MEDIA_THRESHOLD
perRoom: ROOM_MEDIA_THRESHOLD
perUser: USER_MEDIA_THRESHOLD

addTimestampToAkkaMessages:
__name: AKKA_MSG_TIMESTAMP
__format: json
2 changes: 1 addition & 1 deletion lib/mcs-core/lib/media/media-controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ module.exports = class MediaController {
}

if (!params.ignoreThresholds && this.isAboveMediaThresholds(room, user)) {
return reject(this._handleError({
throw (this._handleError({
...C.ERROR.MEDIA_SERVER_NO_RESOURCES,
details: `Threshold exceeded. Threshold: ${GLOBAL_MEDIA_THRESHOLD}`,
}));
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bbb-webrtc-sfu",
"version": "2.4.17",
"version": "2.4.19",
"private": true,
"scripts": {
"start": "node server.js",
Expand Down

0 comments on commit 2b77265

Please sign in to comment.