Skip to content

Commit

Permalink
Merge pull request #4 from shoetten/feature/add_jitsi_config_options
Browse files Browse the repository at this point in the history
Feature/add jitsi config options
  • Loading branch information
0x46616c6b authored Apr 21, 2020
2 parents 4c5285c + 67970cd commit 92abc85
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,14 @@ jitsi_meet_debconf_settings:
vtype: string
jitsi_meet_config_resolution: 720
jitsi_meet_config_disable_third_party_requests: "true"
jitsi_meet_config_p2p_enabled: "true"
# For privacy reasons we recommend to use your own STUN servers
jitsi_meet_config_stun_servers:
- stun.l.google.com:19302
- stun1.l.google.com:19302
- stun2.l.google.com:19302
jitsi_meet_config_default_language: en
jitsi_meet_config_last_n: "-1"
```

Expand Down
4 changes: 3 additions & 1 deletion defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ jitsi_meet_jicofo_secret: "CHANGEME2"
jitsi_meet_jicofo_port: 5347
jitsi_meet_jicofo_password: "CHANGEME3"

jitsi_meet_cert_choice: "Generate a new self-signed certificate (You will later get a chance to obtain a Let's encrypt certificate)"
jitsi_meet_ssl_cert_path: "/etc/ssl/certs/ssl-cert-snakeoil.pem"
jitsi_meet_ssl_key_path: "/etc/ssl/private/ssl-cert-snakeoil.key"

jitsi_meet_cert_choice: "Generate a new self-signed certificate (You will later get a chance to obtain a Let's encrypt certificate)"
jitsi_meet_debconf_settings:
- name: jitsi-meet
question: jitsi-meet/cert-choice
Expand All @@ -32,6 +32,8 @@ jitsi_meet_debconf_settings:
vtype: string
jitsi_meet_config_resolution: 720
jitsi_meet_config_disable_third_party_requests: "true"
jitsi_meet_config_p2p_enabled: "true"
jitsi_meet_config_stun_servers:
- stun:meet-jit-si-turnrelay.jitsi.net:443
jitsi_meet_config_default_language: en
jitsi_meet_config_last_n: "-1"
4 changes: 2 additions & 2 deletions templates/meet-config.js.j2
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ var config = {
// Misc

// Default value for the channel "last N" attribute. -1 for unlimited.
channelLastN: -1,
channelLastN: {{ jitsi_meet_config_last_n }},

// Disables or enables RTX (RFC 4588) (defaults to false).
// disableRtx: false,
Expand Down Expand Up @@ -331,7 +331,7 @@ var config = {
// through the JVB and use the peer to peer connection instead. When a
// 3rd participant joins the conference will be moved back to the JVB
// connection.
enabled: true,
enabled: {{ jitsi_meet_config_p2p_enabled }},

// Use XEP-0215 to fetch STUN and TURN servers.
// useStunTurn: true,
Expand Down

0 comments on commit 92abc85

Please sign in to comment.