|
4 | 4 |
|
5 | 5 | true |
6 | 6 | 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." |
10 | 13 | # shellcheck source=lib.sh |
11 | 14 | source /var/scripts/fetch_lib.sh |
12 | 15 |
|
@@ -514,15 +517,16 @@ nextcloud/aio-talk-recording |
514 | 517 | # Talk recording |
515 | 518 | if [ -d "$NCPATH/apps/spreed" ] |
516 | 519 | then |
517 | | - if does_this_docker_exist talk-recording |
| 520 | + if does_this_docker_exist nextcloud/aio-talk-recording |
518 | 521 | then |
| 522 | + install_if_not netcat |
519 | 523 | while ! nc -z "$TURN_RECORDING_HOST" 1234 |
520 | 524 | do |
521 | | - echo "waiting for Talk Recording to become available..." |
| 525 | + print_text_in_color "$ICyan" "Waiting for Talk Recording to become available..." |
522 | 526 | sleep 5 |
523 | 527 | 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\"}" |
526 | 530 | nextcloud_occ_no_check config:app:set spreed recording_servers --value="$RECORDING_SERVERS_STRING" --output json |
527 | 531 | fi |
528 | 532 | fi |
0 commit comments