applied changes rom 2.3-alpha-8 and 2.3-beta-1

This commit is contained in:
chandi 2021-03-27 18:48:05 +01:00
parent 648a9b1a07
commit 96182bcc74
23 changed files with 180 additions and 268 deletions

View File

@ -111,6 +111,7 @@ services:
DISABLE_SOUND_MUTED: ${DISABLE_SOUND_MUTED:-false} DISABLE_SOUND_MUTED: ${DISABLE_SOUND_MUTED:-false}
DISABLE_SOUND_ALONE: ${DISABLE_SOUND_ALONE:-false} DISABLE_SOUND_ALONE: ${DISABLE_SOUND_ALONE:-false}
SOUNDS_LANGUAGE: ${SOUNDS_LANGUAGE:-en-us-callie} SOUNDS_LANGUAGE: ${SOUNDS_LANGUAGE:-en-us-callie}
ESL_PASSWORD: ${FSESL_PASSWORD:-ClueCon}
volumes: volumes:
- ./conf/sip_profiles:/etc/freeswitch/sip_profiles/external - ./conf/sip_profiles:/etc/freeswitch/sip_profiles/external
- ./conf/dialplan_public:/etc/freeswitch/dialplan/public_docker - ./conf/dialplan_public:/etc/freeswitch/dialplan/public_docker
@ -218,6 +219,8 @@ services:
build: mod/fsesl-akka build: mod/fsesl-akka
depends_on: depends_on:
- redis - redis
environment:
FSESL_PASSWORD: ${FSESL_PASSWORD:-ClueCon}
networks: networks:
bbb-net: bbb-net:
ipv4_address: 10.7.7.14 ipv4_address: 10.7.7.14

View File

@ -3,7 +3,7 @@ FROM mozilla/sbt:8u181_1.2.7 AS builder
RUN apt-get update && apt-get install -y subversion RUN apt-get update && apt-get install -y subversion
# download bbb-common-message # download bbb-common-message
ENV TAG_COMMON_MESSAGE v2.3-alpha-7 ENV TAG_COMMON_MESSAGE v2.3-beta-1
RUN svn checkout https://github.com/bigbluebutton/bigbluebutton/tags/$TAG_COMMON_MESSAGE/bbb-common-message /bbb-common-message \ RUN svn checkout https://github.com/bigbluebutton/bigbluebutton/tags/$TAG_COMMON_MESSAGE/bbb-common-message /bbb-common-message \
&& rm -rf /bbb-common-message/.svn && rm -rf /bbb-common-message/.svn
@ -14,7 +14,7 @@ RUN cd /bbb-common-message \
# =================================================== # ===================================================
ENV TAG v2.3-alpha-7 ENV TAG v2.3-beta-1
RUN svn checkout https://github.com/bigbluebutton/bigbluebutton/tags/$TAG/akka-bbb-apps /source \ RUN svn checkout https://github.com/bigbluebutton/bigbluebutton/tags/$TAG/akka-bbb-apps /source \
&& rm -rf /source/.svn && rm -rf /source/.svn
@ -39,10 +39,10 @@ RUN groupadd -g 998 bigbluebutton \
&& useradd -m -u 998 -g bigbluebutton bigbluebutton && useradd -m -u 998 -g bigbluebutton bigbluebutton
COPY --from=builder /bbb-apps-akka-0.0.4 /bbb-apps-akka COPY --from=builder /bbb-apps-akka-0.0.4 /bbb-apps-akka
COPY application.conf /bbb-apps-akka/conf/application.conf.tmpl COPY bbb-apps-akka.conf /etc/bigbluebutton/bbb-apps-akka.conf.tmpl
COPY logback.xml /bbb-apps-akka/conf/logback.xml COPY logback.xml /bbb-apps-akka/conf/logback.xml
WORKDIR /bbb-apps-akka WORKDIR /bbb-apps-akka
CMD dockerize \ CMD dockerize \
-template /bbb-apps-akka/conf/application.conf.tmpl:/bbb-apps-akka/conf/application.conf \ -template /etc/bigbluebutton/bbb-apps-akka.conf.tmpl:/etc/bigbluebutton/bbb-apps-akka.conf \
gosu bigbluebutton /bbb-apps-akka/bin/bbb-apps-akka gosu bigbluebutton /bbb-apps-akka/bin/bbb-apps-akka

View File

@ -1,100 +0,0 @@
akka {
actor {
debug {
# enable DEBUG logging of all AutoReceiveMessages (Kill, PoisonPill et.c.)
autoreceive = on
# enable DEBUG logging of actor lifecycle changes
lifecycle = on
}
}
loggers = ["akka.event.slf4j.Slf4jLogger"]
loglevel = "DEBUG"
redis-publish-worker-dispatcher {
mailbox-type = "akka.dispatch.SingleConsumerOnlyUnboundedMailbox"
# Throughput defines the maximum number of messages to be
# processed per actor before the thread jumps to the next actor.
# Set to 1 for as fair as possible.
throughput = 512
}
redis-subscriber-worker-dispatcher {
mailbox-type = "akka.dispatch.SingleConsumerOnlyUnboundedMailbox"
# Throughput defines the maximum number of messages to be
# processed per actor before the thread jumps to the next actor.
# Set to 1 for as fair as possible.
throughput = 512
}
}
redis {
host="10.7.7.5"
port=6379
password=""
# recording keys should expire in 14 days
keyExpiry=1209600
}
expire {
# time in seconds
lastUserLeft = 60
neverJoined = 300
maxRegUserToJoin = 300
}
services {
bbbWebAPI="https://{{ .Env.DOMAIN }}/bigbluebutton/api"
sharedSecret="{{ .Env.SHARED_SECRET }}"
}
red5 {
deskshareip="{{ .Env.DOMAIN }}"
deskshareapp="video-broadcast"
}
eventBus {
meetingManagerChannel = "MeetingManagerChannel"
outMessageChannel = "OutgoingMessageChannel"
incomingJsonMsgChannel = "IncomingJsonMsgChannel"
outBbbMsgMsgChannel = "OutBbbMsgChannel"
}
http {
interface = "10.7.7.2"
port = 9999
}
services {
telizeHost = "www.telize.com"
telizePort = 80
}
apps {
checkPermissions = true
ejectOnViolation = false
endMeetingWhenNoMoreAuthedUsers = false
endMeetingWhenNoMoreAuthedUsersAfterMinutes = 2
}
voiceConf {
recordPath = "/var/freeswitch/meetings"
# Use ogg instead of wav to get smaller audio files.
# Valid values "wav", "ogg", "flac", "opus"
recordCodec = "opus"
# Interval seconds to check if FreeSWITCH is recording.
checkRecordingInterval = 23
# Internval seconds to sync voice users status.
syncUserStatusInterval = 41
# Voice users with no matching user record
ejectRogueVoiceUsers = true
}
recording {
# set zero to disable chapter break
chapterBreakLengthInMinutes = 0
}
whiteboard {
multiUserDefault = false
}

View File

@ -0,0 +1,14 @@
// include default config from upstream
include "/bbb-apps-akka/conf/application.conf"
redis {
host="10.7.7.5"
}
services {
bbbWebAPI="https://{{ .Env.DOMAIN }}/bigbluebutton/api"
sharedSecret="{{ .Env.SHARED_SECRET }}"
}
http {
interface = "0.0.0.0"
}

View File

@ -3,7 +3,7 @@ FROM mozilla/sbt:8u181_1.2.7 AS builder
RUN apt-get update && apt-get install -y subversion RUN apt-get update && apt-get install -y subversion
# download bbb-common-message # download bbb-common-message
ENV TAG_COMMON_MESSAGE v2.3-alpha-7 ENV TAG_COMMON_MESSAGE v2.3-beta-1
RUN svn checkout https://github.com/bigbluebutton/bigbluebutton/tags/$TAG_COMMON_MESSAGE/bbb-common-message /bbb-common-message \ RUN svn checkout https://github.com/bigbluebutton/bigbluebutton/tags/$TAG_COMMON_MESSAGE/bbb-common-message /bbb-common-message \
&& rm -rf /bbb-common-message/.svn && rm -rf /bbb-common-message/.svn
@ -15,18 +15,18 @@ RUN cd /bbb-common-message \
# install grails # install grails
RUN cd /opt \ RUN cd /opt \
&& wget https://github.com/grails/grails-core/releases/download/v3.3.9/grails-3.3.9.zip \ && wget -q https://github.com/grails/grails-core/releases/download/v3.3.9/grails-3.3.9.zip \
&& unzip grails-3.3.9.zip && unzip grails-3.3.9.zip
ENV PATH="/opt/grails-3.3.9/bin:${PATH}" ENV PATH="/opt/grails-3.3.9/bin:${PATH}"
# install gradle # install gradle
RUN cd /opt \ RUN cd /opt \
&& wget https://services.gradle.org/distributions/gradle-6.7-bin.zip \ && wget -q https://services.gradle.org/distributions/gradle-6.7-bin.zip \
&& unzip gradle-6.7-bin && unzip gradle-6.7-bin
ENV PATH="/opt/gradle-6.7/bin:${PATH}" ENV PATH="/opt/gradle-6.7/bin:${PATH}"
# download bbb-common-web # download bbb-common-web
ENV TAG_COMMON_WEB v2.3-alpha-7 ENV TAG_COMMON_WEB v2.3-beta-1
RUN svn checkout https://github.com/bigbluebutton/bigbluebutton/tags/$TAG_COMMON_WEB/bbb-common-web /bbb-common-web \ RUN svn checkout https://github.com/bigbluebutton/bigbluebutton/tags/$TAG_COMMON_WEB/bbb-common-web /bbb-common-web \
&& rm -rf /bbb-common-message/.svn && rm -rf /bbb-common-message/.svn
@ -35,7 +35,7 @@ RUN cd /bbb-common-web \
&& ./deploy.sh && ./deploy.sh
# download bbb-web # download bbb-web
ENV TAG_WEB v2.3-alpha-7 ENV TAG_WEB v2.3-beta-1
RUN svn checkout https://github.com/bigbluebutton/bigbluebutton/tags/$TAG_WEB/bigbluebutton-web /bbb-web \ RUN svn checkout https://github.com/bigbluebutton/bigbluebutton/tags/$TAG_WEB/bigbluebutton-web /bbb-web \
&& rm -rf /bbb-web/.svn && rm -rf /bbb-web/.svn

View File

@ -226,7 +226,7 @@ muteOnStart=false
allowModsToUnmuteUsers=false allowModsToUnmuteUsers=false
# Saves meeting events even if the meeting is not recorded # Saves meeting events even if the meeting is not recorded
keepEvents=true defaultKeepEvents=false
# Timeout (millis) to remove a joined user after her/his left event without a rejoin # Timeout (millis) to remove a joined user after her/his left event without a rejoin
# e.g. regular user left event # e.g. regular user left event

View File

@ -1,4 +1,4 @@
FROM etherpad/etherpad:1.8.10 FROM etherpad/etherpad:1.8.13
USER root USER root
@ -10,6 +10,7 @@ USER etherpad
RUN npm install \ RUN npm install \
git+https://git@github.com/pedrobmarin/ep_pad_ttl.git \ git+https://git@github.com/pedrobmarin/ep_pad_ttl.git \
git+https://git@github.com/pedrobmarin/ep_redis_publisher.git \ git+https://git@github.com/pedrobmarin/ep_redis_publisher.git \
git+https://git@github.com/ether/ep_disable_chat.git \
# remove npm lockfile, because somehow it prevents etherpad from detecting the manual added plugin ep_bigbluebutton_patches # remove npm lockfile, because somehow it prevents etherpad from detecting the manual added plugin ep_bigbluebutton_patches
&& rm package-lock.json && rm package-lock.json

@ -1 +1 @@
Subproject commit 8f1ab5687904c765afc21944c11356057ab22521 Subproject commit dccf33f8e9ced8ee94520535b487f5f76fbe02f2

@ -1 +1 @@
Subproject commit eee0062af8849d4ef031cadc688aa70afa7a11b1 Subproject commit 8328b7744abe664e44b7802142eaa48fade63eae

View File

@ -436,8 +436,8 @@
*/ */
"ep_pad_ttl": { "ep_pad_ttl": {
"ttl": 86400, // 24 hours "ttl": 86400, // 24 hours
"timeout": 5, "timeout": 30,
"interval": 3600, // 1 hour "interval": 21600, // 6 hour
}, },
/* /*
@ -458,6 +458,24 @@
}, },
*/ */
/*
* From Etherpad 1.9.0 onwards, when Etherpad is in production mode commits from individual users are rate limited
*
* The default is to allow at most 10 changes per IP in a 1 second window.
* After that the change is rejected.
*
* See https://github.com/animir/node-rate-limiter-flexible/wiki/Overall-example#websocket-single-connection-prevent-flooding for more options
*/
"commitRateLimiting": {
// duration of the rate limit window (seconds)
"duration": 1,
// maximum number of chanes per IP to allow during the rate limit window
"points": 100
},
/* /*
* Toolbar buttons configuration. * Toolbar buttons configuration.
* *

View File

@ -3,7 +3,7 @@ FROM mozilla/sbt:8u181_1.2.7 AS builder
RUN apt-get update && apt-get install -y subversion RUN apt-get update && apt-get install -y subversion
# download bbb-common-message # download bbb-common-message
ENV TAG_COMMON_MESSAGE v2.3-alpha-7 ENV TAG_COMMON_MESSAGE v2.3-beta-1
RUN svn checkout https://github.com/bigbluebutton/bigbluebutton/tags/$TAG_COMMON_MESSAGE/bbb-common-message /bbb-common-message \ RUN svn checkout https://github.com/bigbluebutton/bigbluebutton/tags/$TAG_COMMON_MESSAGE/bbb-common-message /bbb-common-message \
&& rm -rf /bbb-common-message/.svn && rm -rf /bbb-common-message/.svn
@ -13,7 +13,7 @@ RUN cd /bbb-common-message \
# =================================================== # ===================================================
ENV TAG_FSESL v2.3-alpha-7 ENV TAG_FSESL v2.3-beta-1
RUN svn checkout https://github.com/bigbluebutton/bigbluebutton/tags/$TAG_FSESL/bbb-fsesl-client /bbb-fsesl-client \ RUN svn checkout https://github.com/bigbluebutton/bigbluebutton/tags/$TAG_FSESL/bbb-fsesl-client /bbb-fsesl-client \
&& rm -rf /bbb-fsesl-client/.svn && rm -rf /bbb-fsesl-client/.svn
@ -21,7 +21,7 @@ RUN cd /bbb-fsesl-client \
&& ./deploy.sh && ./deploy.sh
ENV TAG v2.3-alpha-7 ENV TAG v2.3-beta-1
RUN svn checkout https://github.com/bigbluebutton/bigbluebutton/tags/$TAG/akka-bbb-fsesl /source \ RUN svn checkout https://github.com/bigbluebutton/bigbluebutton/tags/$TAG/akka-bbb-fsesl /source \
&& rm -rf /source/.svn && rm -rf /source/.svn
@ -47,10 +47,10 @@ RUN groupadd -g 1007 fsesl-akka \
&& useradd -m -u 1007 -g fsesl-akka fsesl-akka && useradd -m -u 1007 -g fsesl-akka fsesl-akka
COPY --from=builder /bbb-fsesl-akka-0.0.2 /bbb-fsesl-akka COPY --from=builder /bbb-fsesl-akka-0.0.2 /bbb-fsesl-akka
COPY application.conf /bbb-fsesl-akka/conf/application.conf.tmpl COPY bbb-fsesl-akka.conf /etc/bigbluebutton/bbb-fsesl-akka.conf.tmpl
COPY logback.xml /bbb-fsesl-akka/conf/logback.xml COPY logback.xml /bbb-fsesl-akka/conf/logback.xml
WORKDIR /bbb-fsesl-akka WORKDIR /bbb-fsesl-akka
CMD dockerize \ CMD dockerize \
-template /bbb-fsesl-akka/conf/application.conf.tmpl:/bbb-fsesl-akka/conf/application.conf \ -template /etc/bigbluebutton/bbb-fsesl-akka.conf.tmpl:/etc/bigbluebutton/bbb-fsesl-akka.conf \
gosu fsesl-akka /bbb-fsesl-akka/bin/bbb-fsesl-akka gosu fsesl-akka /bbb-fsesl-akka/bin/bbb-fsesl-akka

View File

@ -1,45 +0,0 @@
akka {
actor {
debug {
receive = on
}
}
loggers = ["akka.event.slf4j.Slf4jLogger"]
loglevel = "DEBUG"
stdout-loglevel = "DEBUG"
redis-subscriber-worker-dispatcher {
mailbox-type = "akka.dispatch.SingleConsumerOnlyUnboundedMailbox"
# Throughput defines the maximum number of messages to be
# processed per actor before the thread jumps to the next actor.
# Set to 1 for as fair as possible.
throughput = 512
}
}
freeswitch {
esl {
host="10.7.7.1"
port=8021
password="ClueCon"
}
conf {
profile="cdquality"
}
}
redis {
host="10.7.7.5"
port=6379
password=""
# recording keys should expire in 14 days
keyExpiry=1209600
}
http {
interface = "127.0.0.1"
interface = ${?INTERFACE}
port = 8900
port = ${?PORT}
}

View File

@ -0,0 +1,18 @@
// include default config from upstream
include "/bbb-fsesl-akka/conf/application.conf"
freeswitch {
esl {
host="10.7.7.1"
password="{{ default .Env.FSESL_PASSWORD "ClueCon" }}"
}
}
redis {
host="10.7.7.5"
}
http {
interface = "0.0.0.0"
}

View File

@ -14,7 +14,7 @@ USER meteor
ENV METEOR_VERSION 1.10.2 ENV METEOR_VERSION 1.10.2
RUN curl -sL https://install.meteor.com?release=$METEOR_VERSION | sed s/--progress-bar/-sL/g | /bin/sh RUN curl -sL https://install.meteor.com?release=$METEOR_VERSION | sed s/--progress-bar/-sL/g | /bin/sh
ENV TAG v2.3-alpha-7 ENV TAG v2.3-beta-1
RUN cd ~ \ RUN cd ~ \
&& svn checkout https://github.com/bigbluebutton/bigbluebutton/tags/$TAG/bigbluebutton-html5 \ && svn checkout https://github.com/bigbluebutton/bigbluebutton/tags/$TAG/bigbluebutton-html5 \
&& mv ~/bigbluebutton-html5 ~/source \ && mv ~/bigbluebutton-html5 ~/source \
@ -41,4 +41,4 @@ COPY settings.yml /app/programs/server/assets/app/config/settings.yml.tmpl
ENTRYPOINT ["/entrypoint.sh"] ENTRYPOINT ["/entrypoint.sh"]
# lets set the tag again, so that it is include in the image for later version retrieval # lets set the tag again, so that it is include in the image for later version retrieval
ENV TAG v2.3-alpha-7 ENV TAG v2.3-beta-1

View File

@ -12,7 +12,7 @@ public:
appName: BigBlueButton HTML5 Client appName: BigBlueButton HTML5 Client
bbbServerVersion: 2.3-dev-docker bbbServerVersion: 2.3-dev-docker
copyright: '©2021 BigBlueButton Inc.' copyright: '©2021 BigBlueButton Inc.'
html5ClientBuild: "1394-docker" html5ClientBuild: "1511-docker"
helpLink: https://bigbluebutton.org/html5/ helpLink: https://bigbluebutton.org/html5/
lockOnJoin: true lockOnJoin: true
cdn: '' cdn: ''
@ -22,6 +22,7 @@ public:
# in some cases we want only custom logoutUrl to be used when provided on meeting create. Default value: true # in some cases we want only custom logoutUrl to be used when provided on meeting create. Default value: true
allowDefaultLogoutUrl: true allowDefaultLogoutUrl: true
allowUserLookup: false allowUserLookup: false
enableGuestLobbyMessage: true
enableNetworkInformation: false enableNetworkInformation: false
enableLimitOfViewersInWebcam: false enableLimitOfViewersInWebcam: false
enableMultipleCameras: true enableMultipleCameras: true
@ -33,7 +34,7 @@ public:
allowFullscreen: true allowFullscreen: true
preloadNextSlides: 2 preloadNextSlides: 2
mutedAlert: mutedAlert:
enabled: false enabled: true
interval: 200 interval: 200
threshold: -50 threshold: -50
duration: 4000 duration: 4000
@ -47,7 +48,8 @@ public:
breakoutRoomLimit: {{ .Env.BREAKOUTROOM_LIMIT }} breakoutRoomLimit: {{ .Env.BREAKOUTROOM_LIMIT }}
sendInvitationToIncludedModerators: false sendInvitationToIncludedModerators: false
# https://github.com/bigbluebutton/bigbluebutton/pull/10826 # https://github.com/bigbluebutton/bigbluebutton/pull/10826
customHeartbeat: true customHeartbeat: false
showAllAvailableLocales: false
defaultSettings: defaultSettings:
application: application:
animations: true animations: true
@ -57,7 +59,19 @@ public:
userJoinPushAlerts: false userJoinPushAlerts: false
raiseHandAudioAlerts: true raiseHandAudioAlerts: true
raiseHandPushAlerts: true raiseHandPushAlerts: true
guestWaitingAudioAlerts: true
guestWaitingPushAlerts: true
paginationEnabled: true
# fallbackLocale: if the locale the client is loaded in does not have a
# translation a string, it will use the translation from the locale
# specified in fallbackLocale. Note that fallbackLocale should be a
# 100% translated locale for best user experience
fallbackLocale: en fallbackLocale: en
# overrideLocale (default is null): if set (for example to 'de') will
# force all clients to display the German translations of the strings.
# Users can individually set their preferred locale through Settings,
# but on first page load overrideLocale will trump the browser's
# preferred locale
overrideLocale: null overrideLocale: null
#Audio constraints for microphone. Use this to control browser's #Audio constraints for microphone. Use this to control browser's
#filters, such as AGC (Auto Gain Control) , Echo Cancellation, #filters, such as AGC (Auto Gain Control) , Echo Cancellation,
@ -109,6 +123,9 @@ public:
closePrivateChat: closePrivateChat:
accesskey: G accesskey: G
descId: closePrivateChat descId: closePrivateChat
raiseHand:
accesskey: R
descId: raiseHand
openActions: openActions:
accesskey: A accesskey: A
descId: openActions descId: openActions
@ -142,11 +159,15 @@ public:
# Max timeout: used as the max camera subscribe reconnection timeout. Each # Max timeout: used as the max camera subscribe reconnection timeout. Each
# subscribe reattempt increases the reconnection timer up to this # subscribe reattempt increases the reconnection timer up to this
maxTimeout: 60000 maxTimeout: 60000
chromeDefaultExtensionKey: akgoaoikmbmhcopjgakkcepdgdgkjfbc
chromeDefaultExtensionLink: https://chrome.google.com/webstore/detail/bigbluebutton-screenshare/akgoaoikmbmhcopjgakkcepdgdgkjfbc
chromeExtensionKey: KEY
chromeExtensionLink: LINK
screenshare: screenshare:
mediaTimeouts:
maxConnectionAttempts: 2
# Base screen media timeout (send|recv)
baseTimeout: 15000
# Max timeout: used as the max camera subscribe reconnection timeout. Each
# subscribe reattempt increases the reconnection timer up to this
maxTimeout: 35000
timeoutIncreaseFactor: 1.5
constraints: constraints:
video: video:
frameRate: frameRate:
@ -156,11 +177,7 @@ public:
max: 2560 max: 2560
height: height:
max: 1600 max: 1600
audio: false audio: true
chromeScreenshareSources:
- window
- screen
firefoxScreenshareSource: window
# cameraProfiles is an array of: # cameraProfiles is an array of:
# - id: profile identifier # - id: profile identifier
# name: human-readable profile name # name: human-readable profile name
@ -264,8 +281,11 @@ public:
- threshold: 30 - threshold: 30
profile: low-u30 profile: low-u30
pagination: pagination:
# whether to globally enable or disable pagination. # WARNING: the pagination.enabled setting has moved to
enabled: true # public.app.defaultSettings.application.paginationEnabled
# paginationToggleEnabled: show a pagination toggle in settings for the
# user to enable/disable it
paginationToggleEnabled: true
# how long (in ms) the negotiation will be debounced after a page change. # how long (in ms) the negotiation will be debounced after a page change.
pageChangeDebounceTime: 2500 pageChangeDebounceTime: 2500
# video page sizes for DESKTOP endpoints. It stands for the number of SUBSCRIBER streams. # video page sizes for DESKTOP endpoints. It stands for the number of SUBSCRIBER streams.
@ -273,9 +293,44 @@ public:
# A page size of 0 (zero) means that the page size is unlimited (disabled). # A page size of 0 (zero) means that the page size is unlimited (disabled).
desktopPageSizes: desktopPageSizes:
moderator: 0 moderator: 0
viewer: 0 viewer: 5
# video page sizes for MOBILE endpoints # video page sizes for MOBILE endpoints
mobilePageSizes: mobilePageSizes:
moderator: 2
viewer: 2
paginationThresholds:
enabled: false
thresholds:
- users: 30
desktopPageSizes:
moderator: 25
viewer: 25
- users: 40
desktopPageSizes:
moderator: 20
viewer: 20
- users: 50
desktopPageSizes:
moderator: 16
viewer: 16
- users: 60
desktopPageSizes:
moderator: 14
viewer: 12
- users: 70
desktopPageSizes:
moderator: 12
viewer: 10
- users: 80
desktopPageSizes:
moderator: 10
viewer: 8
- users: 90
desktopPageSizes:
moderator: 8
viewer: 6
- users: 100
desktopPageSizes:
moderator: 6 moderator: 6
viewer: 4 viewer: 4
syncUsersWithConnectionManager: syncUsersWithConnectionManager:
@ -287,6 +342,7 @@ public:
poll: poll:
enabled: true enabled: true
max_custom: 5 max_custom: 5
allowDragAndDropFile: false
captions: captions:
enabled: true enabled: true
enableDictation: false enableDictation: false
@ -322,12 +378,6 @@ public:
note: note:
enabled: true enabled: true
url: https://{{ .Env.DOMAIN }}/pad url: https://{{ .Env.DOMAIN }}/pad
config:
showLineNumbers: false
showChat: false
noColors: true
showControls: true
rtl: false
layout: layout:
autoSwapLayout: false autoSwapLayout: false
hidePresentation: false hidePresentation: false
@ -337,7 +387,6 @@ public:
stunTurnServersFetchAddress: '/bigbluebutton/api/stuns' stunTurnServersFetchAddress: '/bigbluebutton/api/stuns'
cacheStunTurnServers: true cacheStunTurnServers: true
fallbackStunServer: '' fallbackStunServer: ''
recvonlyIceGatheringCheck: true
mediaTag: '#remote-media' mediaTag: '#remote-media'
callTransferTimeout: 5000 callTransferTimeout: 5000
callHangupTimeout: 2000 callHangupTimeout: 2000
@ -363,6 +412,8 @@ public:
websocketKeepAliveDebounce: 10 websocketKeepAliveDebounce: 10
#Trace sip/audio messages in browser. If not set, default value is false. #Trace sip/audio messages in browser. If not set, default value is false.
traceSip: false traceSip: false
# SDP semantics: plan-b|unified-plan
sdpSemantics: 'unified-plan'
stats: stats:
enabled: true enabled: true
interval: 2000 interval: 2000
@ -426,6 +477,8 @@ public:
mime: image/jpeg mime: image/jpeg
- extension: .png - extension: .png
mime: image/png mime: image/png
selectRandomUser:
enabled: true
user: user:
role_moderator: MODERATOR role_moderator: MODERATOR
role_viewer: VIEWER role_viewer: VIEWER
@ -514,7 +567,6 @@ public:
- triangle - triangle
- rectangle - rectangle
- pencil - pencil
- hand
clientLog: clientLog:
server: server:
enabled: false enabled: false
@ -533,7 +585,7 @@ public:
private: private:
app: app:
host: 0.0.0.0 host: 0.0.0.0
localesUrl: /locales localesUrl: /locale-list
pencilChunkLength: 100 pencilChunkLength: 100
loadSlidesFromHttpAlways: false loadSlidesFromHttpAlways: false
etherpad: etherpad:
@ -584,7 +636,7 @@ private:
- browser: chromeMobileIOS - browser: chromeMobileIOS
version: Infinity version: Infinity
- browser: firefox - browser: firefox
version: 63 version: 68
- browser: firefoxMobile - browser: firefoxMobile
version: 68 version: 68
- browser: edge - browser: edge

View File

@ -1,11 +1,6 @@
FROM node:14-alpine AS builder FROM node:14-alpine AS builder
RUN apk add subversion RUN apk add subversion git
# --------------------
ENV TAG_PlAYBACK_LEGACY v2.3-alpha-6
RUN svn checkout https://github.com/bigbluebutton/bigbluebutton/tags/$TAG_PlAYBACK_LEGACY/record-and-playback/presentation/playback/presentation /playback-legacy
# -------------------- # --------------------
@ -16,15 +11,14 @@ ENV REACT_APP_BBB_PLAYBACK_BUILD=$TAG_PLAYBACK
# for the latest bbb-playback version shipped with 2.3-alpha-6 # for the latest bbb-playback version shipped with 2.3-alpha-6
# so we use the master branch # so we use the master branch
# RUN svn checkout https://github.com/bigbluebutton/bbb-playback/tags/$TAG_PLAYBACK /bbb-playback # RUN svn checkout https://github.com/bigbluebutton/bbb-playback/tags/$TAG_PLAYBACK /bbb-playback
RUN svn checkout https://github.com/bigbluebutton/bbb-playback/trunk /bbb-playback RUN git clone https://github.com/bigbluebutton/bbb-playback.git /bbb-playback && cd /bbb-playback && git checkout 4cec62c4f5332911ac035969b282a53d31374bce
RUN cd /bbb-playback && npm install && npm run-script build RUN cd /bbb-playback && npm install && npm run-script build
# -------------------- # --------------------
FROM nginx:1.19-alpine FROM nginx:1.19-alpine
COPY --from=builder /playback-legacy/2.0 /www/presentation/2.0 COPY --from=builder /bbb-playback/build /www/playback/presentation/2.3
COPY --from=builder /bbb-playback/build /www/presentation/2.3
COPY ./bbb /etc/nginx/bbb COPY ./bbb /etc/nginx/bbb
COPY ./bigbluebutton /etc/nginx/conf.d/default.conf COPY ./bigbluebutton /etc/nginx/conf.d/default.conf
COPY ./nginx.conf /etc/nginx/nginx.conf COPY ./nginx.conf /etc/nginx/nginx.conf

View File

@ -5,7 +5,9 @@ location @html5client {
proxy_set_header Connection "Upgrade"; proxy_set_header Connection "Upgrade";
} }
rewrite ^/html5client/(fonts|compatibility|resources|svgs)/(.*) /html5client/$1/$2; location /html5client/locales {
alias /html5-static/app/locales;
}
location /html5client/compatibility { location /html5client/compatibility {
alias /html5-static/app/compatibility; alias /html5-static/app/compatibility;

View File

@ -13,7 +13,7 @@ location /pad/p/ {
proxy_set_header X-Forwarded-Proto $scheme; # for EP to set secure cookie flag when https is used proxy_set_header X-Forwarded-Proto $scheme; # for EP to set secure cookie flag when https is used
proxy_http_version 1.1; proxy_http_version 1.1;
auth_request /bigbluebutton/connection/checkAuthorization; auth_request /bigbluebutton/connection/validatePad;
auth_request_set $auth_status $upstream_status; auth_request_set $auth_status $upstream_status;
} }

View File

@ -1,17 +0,0 @@
# Handle desktop sharing tunneling. Forwards
# requests to Red5 on port 5080.
location /screenshare {
proxy_pass http://core:5080;
proxy_redirect default;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
client_max_body_size 10m;
client_body_buffer_size 128k;
proxy_connect_timeout 90;
proxy_send_timeout 90;
proxy_read_timeout 90;
proxy_buffer_size 4k;
proxy_buffers 4 32k;
proxy_busy_buffers_size 64k;
proxy_temp_file_write_size 64k;
include fastcgi_params;
}

View File

@ -88,6 +88,14 @@
proxy_set_header X-Original-URI $request_uri; proxy_set_header X-Original-URI $request_uri;
} }
location = /bigbluebutton/connection/validatePad {
internal;
proxy_pass http://core:8090;
proxy_pass_request_body off;
proxy_set_header Content-Length "";
proxy_set_header X-Original-URI $request_uri;
}
location ~ "^/bigbluebutton\/textTrack\/(?<textTrackToken>[a-zA-Z0-9]+)\/(?<recordId>[a-zA-Z0-9_-]+)\/(?<textTrack>.+)$" { location ~ "^/bigbluebutton\/textTrack\/(?<textTrackToken>[a-zA-Z0-9]+)\/(?<recordId>[a-zA-Z0-9_-]+)\/(?<textTrack>.+)$" {
# Workaround IE refusal to set cookies in iframe # Workaround IE refusal to set cookies in iframe
add_header P3P 'CP="No P3P policy available"'; add_header P3P 'CP="No P3P policy available"';

View File

@ -6,14 +6,14 @@ map $remote_addr $freeswitch_addr {
upstream poolhtml5servers { upstream poolhtml5servers {
zone poolhtml5servers 32k; zone poolhtml5servers 32k;
least_conn; least_conn;
server 10.7.7.200:4100 fail_timeout=3s fail_timeout=10s max_fails=4 backup; server 10.7.7.200:4100 fail_timeout=10s max_fails=4 backup;
server 10.7.7.201:4101 fail_timeout=2s fail_timeout=60s max_fails=2; server 10.7.7.201:4101 fail_timeout=120s max_fails=1;
server 10.7.7.202:4102 fail_timeout=2s fail_timeout=60s max_fails=2; server 10.7.7.202:4102 fail_timeout=120s max_fails=1;
server 10.7.7.203:4103 fail_timeout=2s fail_timeout=60s max_fails=2; server 10.7.7.203:4103 fail_timeout=120s max_fails=1;
server 10.7.7.204:4104 fail_timeout=2s fail_timeout=60s max_fails=2; server 10.7.7.204:4104 fail_timeout=120s max_fails=1;
server 10.7.7.205:4105 fail_timeout=2s fail_timeout=60s max_fails=2; server 10.7.7.205:4105 fail_timeout=120s max_fails=1;
server 10.7.7.206:4106 fail_timeout=2s fail_timeout=60s max_fails=2; server 10.7.7.206:4106 fail_timeout=120s max_fails=1;
server 10.7.7.207:4107 fail_timeout=2s fail_timeout=60s max_fails=2; server 10.7.7.207:4107 fail_timeout=120s max_fails=1;
} }
server { server {
@ -28,42 +28,6 @@ server {
return 302 /b; return 302 /b;
} }
# Handle RTMPT (RTMP Tunneling). Forwards requests
# to Red5 on port 5080
location ~ (/open/|/close/|/idle/|/send/|/fcs/) {
proxy_pass http://core:5080;
proxy_redirect off;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
client_max_body_size 10m;
client_body_buffer_size 128k;
proxy_connect_timeout 90;
proxy_send_timeout 90;
proxy_read_timeout 90;
proxy_buffering off;
keepalive_requests 1000000000;
}
# Handle desktop sharing tunneling. Forwards
# requests to Red5 on port 5080.
location /deskshare {
proxy_pass http://core:5080;
proxy_redirect default;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
client_max_body_size 10m;
client_body_buffer_size 128k;
proxy_connect_timeout 90;
proxy_send_timeout 90;
proxy_read_timeout 90;
proxy_buffer_size 4k;
proxy_buffers 4 32k;
proxy_busy_buffers_size 64k;
proxy_temp_file_write_size 64k;
include fastcgi_params;
}
# Include specific rules for record and playback # Include specific rules for record and playback
include /etc/nginx/bbb/*.nginx; include /etc/nginx/bbb/*.nginx;

View File

@ -39,7 +39,7 @@ RUN mkdir -p \
/usr/local/bigbluebutton/core \ /usr/local/bigbluebutton/core \
/etc/bigbluebutton /etc/bigbluebutton
ENV TAG v2.3-alpha-7 ENV TAG v2.3-beta-1
# add bbb-record-core (lib, scripts and Gemfile) # add bbb-record-core (lib, scripts and Gemfile)
RUN cd /usr/local/bigbluebutton/core \ RUN cd /usr/local/bigbluebutton/core \

@ -1 +1 @@
Subproject commit a73429ebb82827a6be9cfae7b22f154a47d4dcf4 Subproject commit 78823ae5d673d8904145af7fa20130383a33b66f