2
0

dash.conf 610 B

1234567891011121314151617181920212223
  1. # the config for srs to delivery dash
  2. # @see https://ossrs.net/lts/zh-cn/docs/v4/doc/sample-dash
  3. # @see full.conf for detail config.
  4. listen 1935;
  5. max_connections 1000;
  6. daemon off;
  7. srs_log_tank console;
  8. http_server {
  9. enabled on;
  10. listen 8080;
  11. dir ./objs/nginx/html;
  12. }
  13. vhost __defaultVhost__ {
  14. dash {
  15. enabled on;
  16. dash_fragment 30;
  17. dash_update_period 150;
  18. dash_timeshift 300;
  19. dash_path ./objs/nginx/html;
  20. dash_mpd_file [app]/[stream].mpd;
  21. }
  22. }