]> git.sesse.net Git - cubemap/blobdiff - cubemap.config.sample
Move iovecs around instead of having single data buffers. Hopefully a tad more effici...
[cubemap] / cubemap.config.sample
index fdd6a067fb4e8072e321b4605c3ca6225db53891..f3e2e0c689957715d17f9e33a1d4dbceeb0055a3 100644 (file)
@@ -1,10 +1,30 @@
+# 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
 num_servers 4   # one for each cpu
+
+#
+# All input ports are treated exactly the same, but you may use multiple ones nevertheless.
+#
 port 9094
 
 stats_file cubemap.stats
 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
+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