]> git.sesse.net Git - cubemap/blob - cubemap.config.sample
Never send more than IOV_MAX (1024) iovecs in pwritev.
[cubemap] / cubemap.config.sample
1 # Uncomment to run in the background. Note that in daemonized mode, all filenames
2 # are relative to an undefined directory, so you should use absolute paths for
3 # error_log, stats_file, etc.
4
5 #daemonize
6 num_servers 4   # one for each cpu
7
8 #
9 # All input ports are treated exactly the same, but you may use multiple ones nevertheless.
10 #
11 port 9094
12
13 stats_file cubemap.stats
14 stats_interval 60
15
16 # Logging of clients as they disconnect (and as such as no longer visible in the stats file).
17 # You can only have zero or one of these.
18 access_log access.log
19
20 # Logging of various informational and error messages. You can have as many of these as you want.
21 error_log type=file filename=cubemap.log
22 error_log type=syslog
23 error_log type=console
24
25 #
26 # now the streams!
27 #
28 stream /test.flv src=http://gruessi.zrh.sesse.net:4013/test.flv mark=1000-5000
29 stream /test.flv.metacube src=http://gruessi.zrh.sesse.net:4013/test.flv encoding=metacube
30 stream /udp.ts src=udp://@:1234 backlog_size=1048576
31 udpstream [2001:67c:29f4::50]:5000 src=http://pannekake.samfundet.no:9094/frikanalen.ts.metacube
32 udpstream 193.35.52.50:5001 src=http://pannekake.samfundet.no:9094/frikanalen.ts.metacube