„src/signaling/server.conf“ hinzufügen

This commit is contained in:
2022-11-25 12:07:52 +01:00
parent ce9edbf245
commit 99ee821832

46
src/signaling/server.conf Normal file
View File

@ -0,0 +1,46 @@
[http]
listen = 0.0.0.0:8080
[app]
debug = false
[sessions]
hashkey = <hashkey>
blockkey = <blockkey>
[backend]
backends = backend-1 #here you can add more backends commaseparated backend-1, backend-2, backend-3
allowall = false
timeout = 10
connectionsperhost = 8
[backend-1]
url = <url>
secret = <ncsharedsecret>
#[backend-2]
#url = https://nextcloud2.example.com
#secret = openssl rand -hex 16
#[backend-3]
#url = https://nextcloud3.example.com
#secret = openssl rand -hex 16
[nats]
url = nats://localhost:4222
[mcu]
type = janus
url = ws://127.0.0.1:8188
[turn]
apikey = <janusapikey>
secret = <turnsecret>
servers = turn:<coturnlistenerip>:3478?transport=udp,turn:<coturnlistenerip>:3478?transport=tcp