X-Git-Url: https://git.sesse.net/?p=cubemap;a=blobdiff_plain;f=cubemap.config.sample;h=83b24ffd2c391a25faece827e58b139085d795a5;hp=9b104d8f8de442934665ec43bcc2731409c74f17;hb=f2530dbb8415f9e7cc0f2d4b45741120c95e8a05;hpb=adbeb2f8972672ed1059509662d006df47762228 diff --git a/cubemap.config.sample b/cubemap.config.sample index 9b104d8..83b24ff 100644 --- a/cubemap.config.sample +++ b/cubemap.config.sample @@ -3,16 +3,24 @@ # error_log, stats_file, etc. #daemonize -num_servers 4 # one for each cpu + +# For low-traffic servers (less than a gigabit or two), num_servers 1 is fine. +# For best performance in high-traffic situations, you want one for each CPU. +num_servers 1 # # All input ports are treated exactly the same, but you may use multiple ones nevertheless. # port 9094 +# listen 127.0.0.1:9095 +# listen [::1]:9095 stats_file cubemap.stats stats_interval 60 +input_stats_file cubemap-input.stats +input_stats_interval 60 + # Logging of clients as they disconnect (and as such as no longer visible in the stats file). # You can only have zero or one of these. access_log access.log @@ -27,6 +35,6 @@ error_log type=console # stream /test.flv src=http://gruessi.zrh.sesse.net:4013/test.flv mark=1000-5000 stream /test.flv.metacube src=http://gruessi.zrh.sesse.net:4013/test.flv encoding=metacube -stream /udp.ts src=udp://@:1234 backlog_size=1048576 +stream /udp.ts src=udp://@:1234 backlog_size=1048576 pacing_rate_kbit=2000 udpstream [2001:67c:29f4::50]:5000 src=http://pannekake.samfundet.no:9094/frikanalen.ts.metacube udpstream 193.35.52.50:5001 src=http://pannekake.samfundet.no:9094/frikanalen.ts.metacube