Several improvements (see below); New default: Only last 3 speakers will be have active video
- Remove Jitsi runtime config in case of Ansible tag teardown - Performance: DefautSet Jitsi Web config channelLastN using jitsi_web_channel_last_n - Adds submodule with the source of docker-jitsi-meet, which this role is based on.
This commit is contained in:
parent
ffd78fdea1
commit
b4855c6a66
5 changed files with 21 additions and 1 deletions
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
[submodule "src"]
|
||||
path = src
|
||||
url = https://github.com/jitsi/docker-jitsi-meet.git
|
|
@ -34,6 +34,7 @@ Role Variables
|
|||
| jitsi_jvb_auth_password | | |
|
||||
| jitsi_jvb_auth_user | | |
|
||||
| jitsi_jvb_stun_servers | | meet-jit-si-turnrelay.jitsi.net:443 |
|
||||
| jitsi_web_channel_last_n | Performance: Limit video streams to the last N speakers (-1 = unlimited) | 3 |
|
||||
| jitsi_public_url | The public URL under which Jitsi Meet can be accessed | http://localhost |
|
||||
| jitsi_timezone | | Europe/Amsterdam |
|
||||
| jitsi_virtual_host | The virtual host that is e.g. used by Traefik, usually part of the public url | localhost |
|
||||
|
|
|
@ -8,4 +8,5 @@ jitsi_exposed_https_port: 8443
|
|||
jitsi_virtual_host: localhost
|
||||
jitsi_public_url: http://{{ jitsi_virtual_host }}
|
||||
jitsi_timezone: Europe/Amsterdam
|
||||
jitsi_jvb_stun_servers: meet-jit-si-turnrelay.jitsi.net:443
|
||||
jitsi_jvb_stun_servers: meet-jit-si-turnrelay.jitsi.net:443
|
||||
jitsi_web_channel_last_n: 3
|
1
src
Submodule
1
src
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit eae3f5ce2d7627afe4115f52a61cc7ae3e3e8a31
|
|
@ -8,6 +8,12 @@
|
|||
group: '{{ docker_user }}'
|
||||
tags: config
|
||||
|
||||
- name: "Teardown: Remove Jitsi runtime config"
|
||||
file:
|
||||
path: /home/{{ docker_user }}/jitsi/conf
|
||||
state: absent
|
||||
tags: ['never', 'teardown']
|
||||
|
||||
- name: Ensure jitsi config directory exists
|
||||
file:
|
||||
path: /home/{{ docker_user }}/jitsi/conf
|
||||
|
@ -67,6 +73,14 @@
|
|||
host: localhost
|
||||
port: "{{ jitsi_exposed_http_port }}"
|
||||
|
||||
- name: "Config: Set channelLastN"
|
||||
lineinfile:
|
||||
path: /home/{{ docker_user }}/jitsi/conf/web/config.js
|
||||
regexp: '(\s*)channelLastN:\s*[^,]+,'
|
||||
line: '\1channelLastN: {{jitsi_web_channel_last_n|default("-1")}},'
|
||||
backrefs: yes
|
||||
tags: config
|
||||
|
||||
- name: "Test whether Jitsi is healthy from the outside"
|
||||
become: false
|
||||
uri:
|
||||
|
|
Loading…
Add table
Reference in a new issue