Skip to content

Commit 4bfc3de

Browse files
authored
talk-recoding fixes (#2521)
1 parent 7009588 commit 4bfc3de

File tree

2 files changed

+13
-9
lines changed

2 files changed

+13
-9
lines changed

apps/talk.sh

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,12 @@
44

55
true
66
SCRIPT_NAME="Nextcloud Talk"
7-
SCRIPT_EXPLAINER="This script installs Nextcloud Talk which is a replacement for Teams/Skype and similar.\
8-
You will also be offered the possibility to install the so-called High-Performance-Backend, which makes it possible to host more video calls than it would be with the standard Talk app. \
9-
It's called 'Talk Signaling' and you will be offered to install it as part two of this script."
7+
SCRIPT_EXPLAINER="This script installs Nextcloud Talk which is a replacement for Teams/Skype and similar.
8+
9+
You will also be offered the possibility to install the so-called High-Performance-Backend, which makes it possible to host more video calls than it would be with the standard Talk app.
10+
It's called 'Talk Signaling' and you will be offered to install it as part two of this script.
11+
12+
And last but not least, Talk Recording is also offered to be installed. It enables recording of sessions in Talk and it's part three of this script."
1013
# shellcheck source=lib.sh
1114
source /var/scripts/fetch_lib.sh
1215

@@ -514,15 +517,16 @@ nextcloud/aio-talk-recording
514517
# Talk recording
515518
if [ -d "$NCPATH/apps/spreed" ]
516519
then
517-
if does_this_docker_exist talk-recording
520+
if does_this_docker_exist nextcloud/aio-talk-recording
518521
then
522+
install_if_not netcat
519523
while ! nc -z "$TURN_RECORDING_HOST" 1234
520524
do
521-
echo "waiting for Talk Recording to become available..."
525+
print_text_in_color "$ICyan" "Waiting for Talk Recording to become available..."
522526
sleep 5
523527
done
524-
525-
RECORDING_SERVERS_STRING="{\"servers\":[{\"server\":\"http://$TURN_RECORDING_HOST:$TURN_RECORDING_HOST_PORT/\",\"verify\":true}],\"secret\":\"$TURN_RECORDING_SECRET\"}"
528+
# Set values in Nextcloud
529+
RECORDING_SERVERS_STRING="{\"servers\":[{\"server\":\"http://$TURN_RECORDING_HOST:$TURN_RECORDING_HOST_PORT/\",\"verify\":false}],\"secret\":\"$TURN_RECORDING_SECRET\"}"
526530
nextcloud_occ_no_check config:app:set spreed recording_servers --value="$RECORDING_SERVERS_STRING" --output json
527531
fi
528532
fi

lib.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ INTERNET_DNS="9.9.9.9"
5757
# Default Quad9 DNS servers, overwritten by the systemd global DNS defined servers, if set
5858
DNS1="9.9.9.9"
5959
DNS2="149.112.112.112"
60-
NONO_PORTS=(22 25 53 80 443 1024 3012 3306 5178 5179 5432 7867 7983 8983 10000 8081 8443 9443 9000 9980 9090 9200 9600)
61-
# 9000 9980 9090 9200 9600 are local docker ports, don't remember if they are needed here or not.
60+
NONO_PORTS=(22 25 53 80 443 1024 3012 3306 5178 5179 5432 7867 7983 8983 10000 8081 8443 9443 9000 9980 9090 9200 9600 1234)
61+
# 9000 9980 9090 9200 9600 1234 are local docker ports, don't remember if they are needed here or not.
6262
use_global_systemd_dns() {
6363
if [ -f "/etc/systemd/resolved.conf" ]
6464
then

0 commit comments

Comments
 (0)