diff options
author | Christian Pointner <equinox@spreadspace.org> | 2022-04-17 22:46:29 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2022-04-17 22:46:29 +0200 |
commit | 2bfb49f2b69a87aeb7a2e4e9f79354b4dbf5d7fa (patch) | |
tree | 6232ee64c76ba1bbc065e3f066da87ae04b396e4 /roles/apps/jitsi | |
parent | upgrade glt-meet2 to newest jitsi meet version (diff) |
jitsi/jvb: disable bandwith estimation
Diffstat (limited to 'roles/apps/jitsi')
-rw-r--r-- | roles/apps/jitsi/meet/tasks/main.yml | 11 | ||||
-rw-r--r-- | roles/apps/jitsi/meet/templates/pod-spec.yml.j2 | 4 |
2 files changed, 15 insertions, 0 deletions
diff --git a/roles/apps/jitsi/meet/tasks/main.yml b/roles/apps/jitsi/meet/tasks/main.yml index b9dcbeb0..a2624024 100644 --- a/roles/apps/jitsi/meet/tasks/main.yml +++ b/roles/apps/jitsi/meet/tasks/main.yml @@ -55,6 +55,14 @@ dest: "{{ jitsi_meet_base_path }}/{{ jitsi_meet_inst_name }}/scripts/prosody/cont-init.sh" mode: 0750 +- name: generate generic jvb cont-init script + copy: + content: | + #!/usr/bin/with-contenv bash + echo "videobridge.cc.trust-bwe=false" >> /config/jvb.conf + dest: "{{ jitsi_meet_base_path }}/{{ jitsi_meet_inst_name }}/scripts/jvb/cont-init.sh" + mode: 0750 + - name: configure base pod config hash items set_fact: @@ -62,6 +70,9 @@ - path: "{{ jitsi_meet_base_path }}/{{ jitsi_meet_inst_name }}/scripts/prosody/cont-init.sh" properties: - checksum + - path: "{{ jitsi_meet_base_path }}/{{ jitsi_meet_inst_name }}/scripts/jvb/cont-init.sh" + properties: + - checksum kubernetes_standalone_pod_config_hash_items_streamui: [] - name: configure stream-ui pod config hash items diff --git a/roles/apps/jitsi/meet/templates/pod-spec.yml.j2 b/roles/apps/jitsi/meet/templates/pod-spec.yml.j2 index dfff54bb..4137cec4 100644 --- a/roles/apps/jitsi/meet/templates/pod-spec.yml.j2 +++ b/roles/apps/jitsi/meet/templates/pod-spec.yml.j2 @@ -212,6 +212,10 @@ containers: hostPort: {{ jitsi_meet_jvb_port }} hostIP: "{{ external_ip | default(ansible_default_ipv4.address) }}" volumeMounts: + - name: scripts + subPath: jvb/cont-init.sh + mountPath: /etc/cont-init.d/99-k8s + readOnly: yes - name: config subPath: jvb mountPath: /config |