User Tools

Site Tools


nextcloud-talk-high-performance-backend

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
nextcloud-talk-high-performance-backend [2021/04/21 00:00] adminnextcloud-talk-high-performance-backend [2021/04/21 00:24] admin
Line 7: Line 7:
   * Coturn (''apt install coturn'')   * Coturn (''apt install coturn'')
   * Signaling (see https://nichteinschalten.de/signalisierungsserver-fuer-nextcloud-aufsetzen-how-to/)   * Signaling (see https://nichteinschalten.de/signalisierungsserver-fuer-nextcloud-aufsetzen-how-to/)
 +  * NATS Server via Docker (https://hub.docker.com/_/nats)
  
 ===== Settings ===== ===== Settings =====
Line 14: Line 15:
   * <SharedSecret> - used in Nextcloud Talk settings "Shared Secret" and  - ''openssl rand -hex 16''   * <SharedSecret> - used in Nextcloud Talk settings "Shared Secret" and  - ''openssl rand -hex 16''
   * <apiKey> - janus.jcfg ''turn_rest_api_key'' and server.conf -> [turn] -> apikey - ''openssl rand -base64 16''   * <apiKey> - janus.jcfg ''turn_rest_api_key'' and server.conf -> [turn] -> apikey - ''openssl rand -base64 16''
-  * <turnSecret> - used in server.conf and turnserver.conf - ''openssl rand -hex 32'' 
   * <ipAddress> - IP Address of your server   * <ipAddress> - IP Address of your server
   * <signalingPort> - Listen port for signaling Server   * <signalingPort> - Listen port for signaling Server
   * <NextcloudDomain> - Domain of your Nextcloud instance   * <NextcloudDomain> - Domain of your Nextcloud instance
-  * <coturnDomain> - Domain running coturn+  * <coturnSecret> - used in server.conf and turnserver.conf - ''openssl rand -hex 32'' 
 +  * <coturnDomain> - Domain running coturn including protocol (https!!)
   * <coturnPort> - Port used for turn/stun server   * <coturnPort> - Port used for turn/stun server
  
Line 61: Line 62:
 [turn] [turn]
 apikey = <apiKey> apikey = <apiKey>
-secret = <turnSecret>+secret = <coturnSecret>
 servers = turn:<ipAddress>:<coturnPort>?transport=udp,turn:<ipAddress>:<coturnPort>?transport=tcp servers = turn:<ipAddress>:<coturnPort>?transport=udp,turn:<ipAddress>:<coturnPort>?transport=tcp
 </code> </code>
Line 127: Line 128:
 # by a separate program, so this is why that other mode is 'dynamic'. # by a separate program, so this is why that other mode is 'dynamic'.
 # #
-static-auth-secret=<turnSecret>+static-auth-secret=<coturnSecret>
  
 # PostgreSQL database connection string in the case that we are using PostgreSQL # PostgreSQL database connection string in the case that we are using PostgreSQL
Line 229: Line 230:
 no-multicast-peers no-multicast-peers
 </code> </code>
 +
 +Change these options in janus
  
 <code bash /etc/janus/janus.jcfg> <code bash /etc/janus/janus.jcfg>
Line 257: Line 260:
 </VirtualHost> </VirtualHost>
 </code> </code>
 +
 +===== Nextcloud GUI configuration =====
 +
 +
 +{{::nextcloud-signaling-janus-coturn.png|}}
nextcloud-talk-high-performance-backend.txt · Last modified: 2021/04/23 22:04 by admin