dash.conf 607 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 10;
  17. dash_update_period 10;
  18. dash_window_size 3;
  19. dash_path ./objs/nginx/html;
  20. dash_mpd_file [app]/[stream].mpd;
  21. }
  22. }