mirror of
https://github.com/ossrs/srs.git
synced 2025-02-15 04:42:04 +00:00
Update config
This commit is contained in:
parent
6107db91f5
commit
235c889e14
2 changed files with 28 additions and 0 deletions
23
trunk/conf/dash.conf
Normal file
23
trunk/conf/dash.conf
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
# the config for srs to delivery dash
|
||||||
|
# @see https://github.com/ossrs/srs/wiki/v1_CN_SampleDASH
|
||||||
|
# @see full.conf for detail config.
|
||||||
|
|
||||||
|
listen 1935;
|
||||||
|
max_connections 1000;
|
||||||
|
daemon off;
|
||||||
|
srs_log_tank console;
|
||||||
|
http_server {
|
||||||
|
enabled on;
|
||||||
|
listen 8080;
|
||||||
|
dir ./objs/nginx/html;
|
||||||
|
}
|
||||||
|
vhost __defaultVhost__ {
|
||||||
|
dash {
|
||||||
|
enabled on;
|
||||||
|
dash_fragment 30;
|
||||||
|
dash_update_period 150;
|
||||||
|
dash_timeshift 300;
|
||||||
|
dash_path ./objs/nginx/html;
|
||||||
|
dash_mpd_file [app]/[stream].mpd;
|
||||||
|
}
|
||||||
|
}
|
|
@ -6,6 +6,11 @@ listen 1935;
|
||||||
max_connections 1000;
|
max_connections 1000;
|
||||||
daemon off;
|
daemon off;
|
||||||
srs_log_tank console;
|
srs_log_tank console;
|
||||||
|
http_server {
|
||||||
|
enabled on;
|
||||||
|
listen 8080;
|
||||||
|
dir ./objs/nginx/html;
|
||||||
|
}
|
||||||
vhost __defaultVhost__ {
|
vhost __defaultVhost__ {
|
||||||
hls {
|
hls {
|
||||||
enabled on;
|
enabled on;
|
||||||
|
|
Loading…
Reference in a new issue