Fix conference duration clock on jwt
This commit is contained in:
parent
253f9e6695
commit
e9181f5c3e
17
mode/jwt.sh
17
mode/jwt.sh
|
@ -44,6 +44,17 @@ sed -i "/app_secret/a \ \ \ \ \ \ \ \ asap_accepted_audiences = { \"$APP_ID\", \
|
|||
sed -i "s|#org.jitsi.jicofo.auth.URL=EXT_JWT:|org.jitsi.jicofo.auth.URL=EXT_JWT:|" $JICOFO_SIP
|
||||
sed -i "s|// anonymousdomain: 'guest.example.com'|anonymousdomain: \'guest.$DOMAIN\'|" $MEET_CONF
|
||||
|
||||
#Enable jibri recording
|
||||
cat << REC-JIBRI >> $PROSODY_FILE
|
||||
|
||||
VirtualHost "recorder.$DOMAIN"
|
||||
modules_enabled = {
|
||||
"ping";
|
||||
}
|
||||
authentication = "internal_plain"
|
||||
|
||||
REC-JIBRI
|
||||
|
||||
#Setup guests and lobby
|
||||
cat << P_SR >> $PROSODY_FILE
|
||||
|
||||
|
@ -52,9 +63,15 @@ VirtualHost "guest.$DOMAIN"
|
|||
allow_empty_token = true
|
||||
c2s_require_encryption = false
|
||||
muc_lobby_whitelist = { "recorder.$DOMAIN", "auth.$DOMAIN" }
|
||||
speakerstats_component = "speakerstats.$DOMAIN"
|
||||
conference_duration_component = "conferenceduration.$DOMAIN"
|
||||
app_id="$APP_ID";
|
||||
app_secret="$SECRET_APP";
|
||||
|
||||
modules_enabled = {
|
||||
"speakerstats";
|
||||
"conference_duration";
|
||||
}
|
||||
P_SR
|
||||
|
||||
echo -e "\nUse the following for your App (e.g. Rocket.Chat):\n"
|
||||
|
|
|
@ -1047,7 +1047,7 @@ fi
|
|||
|
||||
enable_letsencrypt
|
||||
|
||||
if [ "$ENABLE_SC" = "yes" ] || [ "$ENABLE_JWT" = "yes" ];then
|
||||
if [ "$ENABLE_SC" = "yes" ];then
|
||||
echo "Waiting prosody restart to continue configuration, 15s..."
|
||||
wait_seconds 15
|
||||
#Move mucs when using secure rooms - https://community.jitsi.org/t/27752/112
|
||||
|
|
Loading…
Reference in New Issue