X-Git-Url: https://git.sesse.net/?p=cubemap;a=blobdiff_plain;f=cubemap.config.sample;h=c6ab1823a8dbd89faa72f4062b402a29da5bbcac;hp=1a691ee3ccf2482f98f52ff427de3ffcfc5ec62d;hb=74cd48ffef90d7d0752e37a4515e4ecfb68f7c9d;hpb=3ce04a3c410c5836394417b19e70f2a95bc8a5e7 diff --git a/cubemap.config.sample b/cubemap.config.sample index 1a691ee..c6ab182 100644 --- a/cubemap.config.sample +++ b/cubemap.config.sample @@ -1,4 +1,12 @@ -num_servers 4 # one for each cpu +# Uncomment to run in the background. Note that in daemonized mode, all filenames +# are relative to an undefined directory, so you should use absolute paths for +# error_log, stats_file, etc. + +#daemonize + +# 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. @@ -8,6 +16,13 @@ port 9094 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 + # Logging of various informational and error messages. You can have as many of these as you want. error_log type=file filename=cubemap.log error_log type=syslog @@ -17,4 +32,7 @@ error_log type=console # now the streams! # 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 +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