X-Git-Url: https://git.sesse.net/?p=cubemap;a=blobdiff_plain;f=cubemap.config.sample;h=479755b3c4cc616663a8e561b6f8836c0fe126cc;hp=f3e2e0c689957715d17f9e33a1d4dbceeb0055a3;hb=edca761c42e4316bfc22d79868b5552b9d27227c;hpb=8f44468bfe4a1d1607b0ab7044c3071605ae1fa7 diff --git a/cubemap.config.sample b/cubemap.config.sample index f3e2e0c..479755b 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 @@ -25,6 +33,11 @@ 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 src=http://gruessi.zrh.sesse.net:4013/test.flv 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-multicast.ts src=udp://@233.252.0.2:1234 pacing_rate_kbit=2000 +stream /udp-multicast-ssmv6.ts src=udp://[2001:67c:29f4::32]@[ff3e::1000:0]:1234 pacing_rate_kbit=20000 +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 +udpstream 233.252.0.1:5002 src=http://pannekake.samfundet.no:9094/frikanalen.ts.metacube ttl=32 multicast_output_interface=eth1