2020-09-22 14:39:06 +00:00
|
|
|
# Example configuration
|
|
|
|
|
|
|
|
# Authentification
|
|
|
|
auth:
|
|
|
|
backend: basic
|
|
|
|
basic:
|
|
|
|
credentials:
|
|
|
|
# Demo user with password "demo"
|
|
|
|
demo: $2b$15$LRnG3eIHFlYIguTxZOLH7eHwbQC/vqjnLq6nDFiHSUDKIU.f5/1H6
|
|
|
|
|
|
|
|
# Example to bypass login, dangerous!
|
|
|
|
#backend: bypass
|
2020-09-29 15:27:19 +00:00
|
|
|
#
|
2020-09-22 14:39:06 +00:00
|
|
|
# Example of LDAP server login
|
|
|
|
#backend: ldap
|
|
|
|
#ldap:
|
|
|
|
# uri: ldap://127.0.0.1:389
|
|
|
|
# userdn: cn=users,dc=example,dc=com
|
|
|
|
|
2020-09-30 13:07:36 +00:00
|
|
|
# Configure stream forwarding
|
|
|
|
forwarding:
|
|
|
|
# Example to forward a stream named "demo" to Twitch and YouTube
|
|
|
|
#demo:
|
|
|
|
# - rtmp://live-cdg.twitch.tv/app/STREAM_KEY
|
|
|
|
# - rtmp://a.rtmp.youtube.com/live2/STREAM_KEY
|
|
|
|
|
2020-09-22 14:39:06 +00:00
|
|
|
# Prometheus monitoring endpoint
|
|
|
|
monitoring:
|
2020-09-22 14:44:59 +00:00
|
|
|
listenAddress: 127.0.0.1:2112
|
2020-09-22 14:39:06 +00:00
|
|
|
|
2020-09-29 15:04:23 +00:00
|
|
|
# Configure SRT server
|
|
|
|
srt:
|
|
|
|
listenAddress: 127.0.0.1:9710
|
|
|
|
|
|
|
|
# Max number of active SRT connections
|
|
|
|
maxClients: 64
|
|
|
|
|
|
|
|
# Configure web server
|
2020-09-22 14:39:06 +00:00
|
|
|
web:
|
2020-09-22 14:44:59 +00:00
|
|
|
listenAddress: 127.0.0.1:8080
|
2020-09-22 14:39:06 +00:00
|
|
|
name: Demo
|
2020-09-22 14:44:59 +00:00
|
|
|
hostname: localhost
|
|
|
|
favicon: https://www.crans.org/images/favicon.ico
|
|
|
|
widgetURL: https://example.com/
|
2020-09-29 16:44:32 +00:00
|
|
|
viewersCounterRefreshPeriod: 20000
|
2020-09-27 09:14:22 +00:00
|
|
|
|
2020-09-29 15:04:23 +00:00
|
|
|
# Configure WebRTC server
|
|
|
|
webrtc:
|
|
|
|
# UDP port range used to stream
|
|
|
|
minPortUDP: 10000
|
|
|
|
maxPortUDP: 10005
|
2020-09-29 15:27:19 +00:00
|
|
|
|
|
|
|
# STUN servers, you should host your own Coturn instance
|
|
|
|
STUNServers:
|
|
|
|
- stun:stun.l.google.com:19302
|