2014-03-18 07:38:34 +00:00
|
|
|
# the config for srs demo
|
2015-11-11 02:37:50 +00:00
|
|
|
# @see https://github.com/ossrs/srs/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;
|
2021-02-18 03:39:25 +00:00
|
|
|
daemon off;
|
|
|
|
srs_log_tank console;
|
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;
|
2015-09-11 00:21:06 +00:00
|
|
|
play {
|
|
|
|
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
|
|
|
}
|
|
|
|
|