2014-03-18 07:38:34 +00:00
|
|
|
# the config for srs to delivery hls
|
2022-07-31 08:26:35 +00:00
|
|
|
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/sample-hls
|
2014-03-18 07:38:34 +00:00
|
|
|
# @see full.conf for detail config.
|
|
|
|
|
2014-03-10 11:13:18 +00:00
|
|
|
listen 1935;
|
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;
|
2020-01-24 07:35:14 +00:00
|
|
|
http_server {
|
|
|
|
enabled on;
|
|
|
|
listen 8080;
|
|
|
|
dir ./objs/nginx/html;
|
|
|
|
}
|
2014-03-10 11:13:18 +00:00
|
|
|
vhost __defaultVhost__ {
|
|
|
|
hls {
|
|
|
|
enabled on;
|
2020-10-23 12:50:56 +00:00
|
|
|
hls_path ./objs/nginx/html;
|
2014-03-10 11:13:18 +00:00
|
|
|
hls_fragment 10;
|
|
|
|
hls_window 60;
|
|
|
|
}
|
|
|
|
}
|