]> git.sesse.net Git - cubemap/blobdiff - cubemap.config.sample
When reading the HTTP input, skip the \r\n\r\n. Fixes the problem of 4 non-Metacube...
[cubemap] / cubemap.config.sample
index f3e2e0c689957715d17f9e33a1d4dbceeb0055a3..83fc5688eaacac22ccb422f978bacf27fa683c6c 100644 (file)
@@ -3,7 +3,10 @@
 # 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.
@@ -28,3 +31,5 @@ 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
+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