[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 ; --- Optional, all OFF unless you uncomment them --------------------- ; Everything below is left out on purpose. Leaving these commented keeps ; the server behaving exactly as it does now. Uncommenting one turns that ; behaviour ON, it does not "restore a default". ; See CONFIG.txt for the full description of each setting. ; Move DRM decryption scratch files to a RAM disk. ; Channels with DRM write every segment to a file, decrypt it, read it ; back and delete it, roughly 37,000 times an hour on a server running ; 20 DRM channels. By default that goes to disk under temp_dir, and ; waiting on the disk counts towards the load average, so a busy server ; can show a high load while its CPU still looks low. ; Only enable if the server has RAM to spare, check with: df -h /dev/shm ; If the path is missing, unwritable or nearly full, Streamora falls back ; to disk on its own. ;decrypt_scratch_dir = /dev/shm ; PlayReady device file, for sources that need it. ;prd_device_path = ; Player-side buffer in seconds. Absent = 10s. ;player_buffer = 0 ;low_latency_mode = false ; Auto-restarts allowed from viewer requests. Absent = 5. ;error_max_retries = 5 ; Minutes to wait once those are used up. Absent = 180. ;error_cooldown_min = 180 ; Stall detection, DISABLED unless stall_timeout is set. ; stall_timeout is the switch: absent or 0 means no stall detection at ; all. Setting a number turns it on. ;stall_timeout = 40 ; seconds with no new segment ;recovery_attempts = 3 ; tries before giving up ;recovery_delay = 5 ; seconds between tries ;auto_restart_on_fail = true ; restart if recovery fails ;max_restart_log_lines = 500 ; lines kept in restart.log per channel [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 =