Browse Source

Fix some typos and made some instructions more generic

merge-requests/235/head
Torsten Flammiger 4 years ago
parent
commit
d80df04b20
  1. 15
      TURN.md

15
TURN.md

@ -3,14 +3,14 @@
## General instructions ## General instructions
* This was tested against Conduit(Next), Coturn (Archlinux) and Element (Android) * This was tested against Conduit(Next), Coturn (Archlinux) and Element (Android)
* Build your own Conduit from source. It's dead simple to build. * Build your own Conduit from source (always recommended). It's dead simple to build.
* Use the NEXT branch as only this branch provides the necessary functionality. * Use the NEXT branch as only this branch provides the necessary functionality.
* This documentation assumes you have a [Coturn server](https://github.com/coturn/coturn) up and runnig. See [here](https://github.com/matrix-org/synapse/blob/develop/docs/turn-howto.md) how to get it working with the reference implementation. It's almost the same with Conduit. * This documentation assumes you have a [Coturn server](https://github.com/coturn/coturn) up and runnig. See [here](https://github.com/matrix-org/synapse/blob/develop/docs/turn-howto.md) how to get it working with the reference implementation. It's almost the same with Conduit.
## Add a few setting to your existing conduit.toml ## Edit/Add a few settings to your existing conduit.toml
``` ```
# Coturn settings to inform the clients where to find a coturn server # Settings to inform the clients where to find a TURN server
# to enable Audio/Video calls # to enable Audio/Video calls
# domain.tdl should match the REALM setting of coturn # domain.tdl should match the REALM setting of coturn
@ -21,16 +21,15 @@ turn_uris = ["turn:domain.tdl?transport=udp", "turn:domain.tld?transport=tcp"]
# the value of static-auth-secret of your turnserver # the value of static-auth-secret of your turnserver
turn_secret = "" turn_secret = ""
# the default # the default of one day
turn_ttl = 86400 # 1 Day turn_ttl = 86400
# If you have your TURN server configured to use a username and password # If you have your TURN server configured to use a username and password
# you can provide these information too. In this case comment out # you can provide these information too. In this case comment out turn_secret above!
# turn_secret above!
#turn_username = "" #turn_username = ""
#turn_password = "" #turn_password = ""
``` ```
## Apply setting ## Apply setting
Restart Conduit and enjoy audio and/or video call functionality from within Element. Restart Conduit and enjoy audio and/or video call functionality.
Loading…
Cancel
Save