meta data for this page
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
sw:nextcloud:talk:spreed [2020/11/18 10:31] – created niziak | sw:nextcloud:talk:spreed [2020/11/19 08:40] (current) – niziak | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Spreed standalone signaling server ====== | ====== Spreed standalone signaling server ====== | ||
+ | |||
+ | aka HPB (High Performance Backend) is now available as OpenSource. | ||
+ | |||
It is composed from following services: | It is composed from following services: | ||
* Spreed backend (it is REST api service) which control everything | * Spreed backend (it is REST api service) which control everything | ||
* NATS (Messaging server) | * NATS (Messaging server) | ||
- | | + | |
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
* CoTURN server (act as STUN/TURN) | * CoTURN server (act as STUN/TURN) | ||
Line 11: | Line 17: | ||
* It is using direct '' | * It is using direct '' | ||
* Using one shared '' | * Using one shared '' | ||
- | * Janus WebRTC opens listening ports 10000-60000 | + | * Janus WebRTC opens listening ports on any range (it can be limited in janus.jcfg or cmd line argument) |
- | * TURN also opens listening ports 49152-65535 | + | * TURN also opens listening ports 49152-65535 |
===== behind NAT ===== | ===== behind NAT ===== | ||
Line 19: | Line 25: | ||
* Spreed backend HTTP port 3080 (set in server.conf) neeeds to be rev proxied with SSL to external IP with attached domain | * Spreed backend HTTP port 3080 (set in server.conf) neeeds to be rev proxied with SSL to external IP with attached domain | ||
* STUN/TURN UDP/TCP port 3478 | * STUN/TURN UDP/TCP port 3478 | ||
- | | + | * CoTURN UDP/TCP ports 49152-65535 |
- | | + | * Janus WebRTC |
- | * Janus WebRTC: | + | |
- | * '' | + | |
+ | ===== Verify and debug ====== | ||
+ | |||
+ | Check if web frontend for signaling server is working: | ||
+ | <code bash> | ||
+ | curl -k -i https:// | ||
+ | </code> | ||
+ | |||
+ | During NC Talk call, open WebRTC diagnose page in browser: | ||
+ | * Firefox [[about: | ||
+ | * Chrome [[chrome:// | ||
+ | and check what is **Remote Candidate** column. It should be only external configured IP of signaling server. | ||
+ | If TURN or JANUS is incorrectly configured (especially if it is running behind NAT) it can offer some wrong local IPs collected from all interfaces of machine on which is running (it can be some local LAN addresses like 192.168.x.x or Docker virtual interfaces like 172.17.x.x). | ||
+ | |||
+ | |||
+ | ===== NextCloud setup ===== | ||
+ | |||
+ | * **Settigns** --> **Talk** | ||
+ | * **STUN servers** | ||
+ | * '' | ||
+ | * **TURN servers** | ||
+ | * '' | ||
+ | * set [Turn API KEY] (set in '' | ||
+ | * **Signaling servers** | ||
+ | * '' | ||
+ | * check '' | ||
+ | * Shared secret: [Nextcloud-Secret-Key] (set in '' | ||
- | /* RTP/RTCP port range */ | ||
- | uint16_t rtp_range_min = 0; | ||
- | uint16_t rtp_range_max = 0; | ||