mirror of
https://github.com/ossrs/srs.git
synced 2025-02-13 11:51:57 +00:00
* Add utc time utility * Fix calculate duration in fmp4 * Refine dash code, use segment template timeline * Shrink m4s file and cleanup * Support play by dash.js * Use SegmentTemplate timeline mode with $Number$ Co-authored-by: winlin <winlin@vip.126.com>
23 lines
607 B
Text
23 lines
607 B
Text
# the config for srs to delivery dash
|
|
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/sample-dash
|
|
# @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 10;
|
|
dash_update_period 10;
|
|
dash_window_size 3;
|
|
dash_path ./objs/nginx/html;
|
|
dash_mpd_file [app]/[stream].mpd;
|
|
}
|
|
}
|