forked from fediversity/fediversity
		
	Updated bit of TURN documentation.
This commit is contained in:
		
							parent
							
								
									4c6b1830bf
								
							
						
					
					
						commit
						d22af803b2
					
				
					 2 changed files with 11 additions and 0 deletions
				
			
		|  | @ -11,6 +11,10 @@ to use TURN over IPv6, we'll stick to a strict IPv4-only configuration. | |||
| 
 | ||||
| Also, because VoIP traffic is only UDP, we won't do TCP. | ||||
| 
 | ||||
| IMPORTANT! TURN can also be offered by [LiveKit](../element-call#livekit), in | ||||
| which case you should not run coturn (unless you don't use LiveKit's built-in | ||||
| TURN server). | ||||
| 
 | ||||
| 
 | ||||
| # Installation | ||||
| 
 | ||||
|  | @ -148,7 +152,11 @@ each certificate renewal: | |||
| cd /etc/coturn/ssl | ||||
| cp /etc/letsencrypt/live/turn.matrixdev.example.com/{fullchain,privkey}.pem . | ||||
| chown turnserver:turnserver *.pem | ||||
| 
 | ||||
| # We should restart either coturn or LiveKit, they cannot run both! | ||||
| systemctl restart coturn | ||||
| #systemctl restart livekit-server | ||||
| 
 | ||||
| ``` | ||||
| 
 | ||||
| Run this automatically after every renewal by adding this line to | ||||
|  |  | |||
|  | @ -196,6 +196,9 @@ lk-jwt-service, so it shouldn't be reachable from the outside world. | |||
| 
 | ||||
| The `xxx: xxxx` is the key and secret as generated before. | ||||
| 
 | ||||
| See [LiveKit's config documentation](https://github.com/livekit/livekit/blob/master/config-sample.yaml) | ||||
| for more options. | ||||
| 
 | ||||
| Now define a systemd servicefile, like this: | ||||
| 
 | ||||
| ``` | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Hans van Zijst
						Hans van Zijst