2014-03-18 07:38:34 +00:00
|
|
|
# the config for srs demo
|
2014-10-24 03:35:06 +00:00
|
|
|
# @see https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_SampleDemo
|
2014-03-18 07:38:34 +00:00
|
|
|
# @see full.conf for detail config.
|
|
|
|
|
2013-12-01 04:16:57 +00:00
|
|
|
listen 19350;
|
2014-07-26 07:34:45 +00:00
|
|
|
max_connections 1000;
|
2014-03-26 10:13:33 +00:00
|
|
|
daemon on;
|
|
|
|
srs_log_tank file;
|
2014-04-07 07:26:21 +00:00
|
|
|
srs_log_file ./objs/srs.demo.19350.log;
|
2014-03-26 10:13:33 +00:00
|
|
|
pid ./objs/srs.demo.19350.pid;
|
|
|
|
|
2013-12-01 04:16:57 +00:00
|
|
|
vhost __defaultVhost__ {
|
|
|
|
enabled on;
|
|
|
|
gop_cache on;
|
2013-12-21 16:08:17 +00:00
|
|
|
hls {
|
|
|
|
enabled on;
|
|
|
|
hls_path ./objs/nginx/html/forward;
|
|
|
|
hls_fragment 5;
|
|
|
|
hls_window 30;
|
|
|
|
}
|
2013-12-01 04:16:57 +00:00
|
|
|
}
|
|
|
|
|