1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

For #299, write MPD file.

This commit is contained in:
winlin 2017-02-26 20:40:33 +08:00
parent e754ab7073
commit 8ab727f3c5
7 changed files with 307 additions and 6 deletions

View file

@ -948,8 +948,27 @@ vhost dash.srs.com {
dash {
# Whether DASH is enabled.
# Transmux RTMP to DASH if on.
# default: off
enabled on;
# Default: off
enabled on;
# The duration of segment in seconds.
# Default: 10
dash_fragment 10;
# The period to update the MPD in seconds.
# Default: 30
dash_update_period 30;
# The depth of timeshift buffer in seconds.
# Default: 60
dash_timeshift 60;
# The base/home dir/path for dash.
# All init and segment files will write under this dir.
dash_path ./objs/nginx/html;
# The DASH MPD file path.
# We supports some variables to generate the filename.
# [vhost], the vhost of stream.
# [app], the app of stream.
# [stream], the stream name of stream.
# Default: [app]/[stream].mpd
dash_mpd_file [app]/[stream].mpd;
}
}