[server]
host        = 0.0.0.0
port        = 8585
ssl_enabled = false
ssl_cert    =
ssl_key     =

[admin]
username   = admin
password   = __ADMIN_PASS__
secret_key = __SECRET_KEY__

[api]
push_api_key = __API_KEY__

[database]
path = ./streamora.db

[stream]
ffmpeg_path          = /usr/bin/ffmpeg
mp4decrypt_path      = /usr/local/bin/mp4decrypt
wvd_device_path      =
max_streams          = 100
mode                 = on_demand
burst_threads        = 4
burst_segments       = 4
burst_duration       = 30
segment_duration     = 10
hls_window_size      = 8
temp_dir             = /home/streamora/tmp
cleanup_interval     = 300
ui_refresh_interval  = 10
ffmpeg_log_level     = info
analyze_duration     = 1000000
probe_size           = 1000000
idle_timeout         = 30
ready_timeout        = 60
prebuffer_seconds    = 0
error_retention_time = 0
recordings_path      = /home/streamora/recordings
init_segment_time    = 1
script_dirs          = /home/streamora/scripts
; If the server ever gets stuck (rare edge case), auto-restart it after
; 2 minutes instead of hanging until manual restart. Set to true to enable.
stuck_mutex_auto_restart = false

[output]
hls_enabled    = true
mpegts_enabled = true
srt_enabled    = false
srt_port       = 9000
udp_enabled    = false

[epg]
enabled         = true
update_interval = 24

[geo]
enabled   = false
proxy_url =

[logging]
level             = info
file              = ./streamora.log
max_size          = 50
auto_cleanup_days = 0

[security]
; Comma-separated IPs/CIDRs allowed to access admin login and API.
; Leave blank to allow all IPs (default).
admin_allowed_ips =
