3438a0fc90
An error log appeared in `/var/log/jitsi/jvb.log` when xmpp was used: ``` 2020-04-08 15:58:14.603 SEVERE: [59] ComponentMain.lambda$getConnectCallable$0#293: host-unknown, host:localhost, port:5347 ``` It might be due to a misconfiguration of prosody: https://community.jitsi.org/t/ask-xmpp-websocket-configuration/30386/4 As we do not use this, we remove xmpp for rest api config.
27 lines
1021 B
YAML
27 lines
1021 B
YAML
---
|
|
## activation des stats
|
|
|
|
- name: configuration du videobridge pour activer les stats
|
|
lineinfile:
|
|
path: "/etc/jitsi/videobridge/sip-communicator.properties"
|
|
regexp: "^org.jitsi.videobridge.ENABLE_STATISTICS"
|
|
line: "org.jitsi.videobridge.ENABLE_STATISTICS=true"
|
|
|
|
- name: configuration du videobridge pour transporter les stats via colibri REST api
|
|
lineinfile:
|
|
path: "/etc/jitsi/videobridge/sip-communicator.properties"
|
|
regexp: "^org.jitsi.videobridge.STATISTICS_TRANSPORT"
|
|
line: "org.jitsi.videobridge.STATISTICS_TRANSPORT=muc,colibri"
|
|
|
|
- name: bloque l'accès à l'api colibri depuis l'extérieur
|
|
lineinfile:
|
|
path: "/etc/jitsi/videobridge/sip-communicator.properties"
|
|
regexp: "^org.jitsi.videobridge.rest.private.jetty.host"
|
|
line: "org.jitsi.videobridge.rest.private.jetty.host=localhost"
|
|
|
|
- name: ajoute l'api REST à la config de démarrage du videobridge
|
|
lineinfile:
|
|
path: "/etc/jitsi/videobridge/config"
|
|
regexp: "^JVB_OPTS="
|
|
line: 'JVB_OPTS=" --apis=rest "'
|