1234567891011121314151617181920212223 |
- # 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;
- }
- }
|