]> git.sesse.net Git - cubemap/blob - cubemap.config.sample
Add an assert, to hopefully catch a bug.
[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
7 # For low-traffic servers (less than a gigabit or two), num_servers 1 is fine.
8 # For best performance in high-traffic situations, you want one for each CPU.
9 num_servers 1
10
11 #
12 # All input ports are treated exactly the same, but you may use multiple ones nevertheless.
13 #
14 port 9094
15
16 stats_file cubemap.stats
17 stats_interval 60
18
19 # Logging of clients as they disconnect (and as such as no longer visible in the stats file).
20 # You can only have zero or one of these.
21 access_log access.log
22
23 # Logging of various informational and error messages. You can have as many of these as you want.
24 error_log type=file filename=cubemap.log
25 error_log type=syslog
26 error_log type=console
27
28 #
29 # now the streams!
30 #
31 stream /test.flv src=http://gruessi.zrh.sesse.net:4013/test.flv mark=1000-5000
32 stream /test.flv.metacube src=http://gruessi.zrh.sesse.net:4013/test.flv encoding=metacube
33 stream /udp.ts src=udp://@:1234 backlog_size=1048576
34 udpstream [2001:67c:29f4::50]:5000 src=http://pannekake.samfundet.no:9094/frikanalen.ts.metacube
35 udpstream 193.35.52.50:5001 src=http://pannekake.samfundet.no:9094/frikanalen.ts.metacube