# Пример конфигурации signaling.
# Скопируйте как server.conf и подставьте свои секреты.
# server.conf добавлен в .gitignore и в репозиторий не попадает.

[server]
ratelimitRequestsPerSecond = 0
ratelimitBurst = 0

[http]
listen = 127.0.0.1:8080

[app]
debug = false

[sessions]
hashkey = YOUR_32_OR_64_BYTE_HEX_HASHKEY
blockkey = YOUR_16_24_OR_32_BYTE_HEX_BLOCKKEY

[clients]
internalsecret = YOUR_INTERNAL_CLIENT_SECRET

[backend]
backends = nextcloud-backend-0
# allowall = true  # только для тестов
secret = YOUR_NEXTCLOUD_BACKEND_SECRET
timeout = 10
connectionsperhost = 8

[nextcloud-backend-0]
url = https://your-nextcloud.example
secret = YOUR_NEXTCLOUD_BACKEND_SECRET

[nats]
url = nats://localhost:4222

[mcu]
type = janus
url = ws://127.0.0.1:8188

[turn]
apikey = YOUR_TURN_API_KEY
secret = YOUR_TURN_SHARED_SECRET
servers = turn:your-turn.example:9991?transport=udp,turn:your-turn.example:9991?transport=tcp
