Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
Simon L. 2024-04-04 14:39:24 +02:00
parent 544519994a
commit dc4a08ef78

View file

@ -638,6 +638,7 @@ if [ "$TALK_ENABLED" = 'yes' ]; then
fi fi
# Based on https://github.com/nextcloud/spreed/issues/960#issuecomment-416993435 # Based on https://github.com/nextcloud/spreed/issues/960#issuecomment-416993435
if [ -z "$(php /var/www/html/occ talk:turn:list --output="plain")" ]; then if [ -z "$(php /var/www/html/occ talk:turn:list --output="plain")" ]; then
# shellcheck disable=SC2153
php /var/www/html/occ talk:turn:add turn "$TALK_HOST:$TALK_PORT" "udp,tcp" --secret="$TURN_SECRET" php /var/www/html/occ talk:turn:add turn "$TALK_HOST:$TALK_PORT" "udp,tcp" --secret="$TURN_SECRET"
fi fi
STUN_SERVER="$(php /var/www/html/occ talk:stun:list --output="plain")" STUN_SERVER="$(php /var/www/html/occ talk:stun:list --output="plain")"