Mercurial > prosody-hg
comparison plugins/mod_turn_external.lua @ 14102:a124e80d3498
Merge 13.0->trunk
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Wed, 11 Mar 2026 16:59:10 +0100 |
| parents | 7fd6feb86dbe |
| children |
comparison
equal
deleted
inserted
replaced
| 14099:b5002c87db0b | 14102:a124e80d3498 |
|---|---|
| 31 type = type; | 31 type = type; |
| 32 transport = transport; | 32 transport = transport; |
| 33 host = host; | 33 host = host; |
| 34 port = type == "turns" and tls_port or port; | 34 port = type == "turns" and tls_port or port; |
| 35 | 35 |
| 36 username = type == "turn" and user or nil; | 36 username = (type == "turn" or type == "turns") and user or nil; |
| 37 secret = type == "turn" and secret or nil; | 37 secret = (type == "turn" or type == "turns") and secret or nil; |
| 38 ttl = type == "turn" and ttl or nil; | 38 ttl = (type == "turn" or type == "turns") and ttl or nil; |
| 39 }) | 39 }) |
| 40 end | 40 end |
| 41 end | 41 end |
| 42 end | 42 end |
