dash.conf 609 B

1234567891011121314151617181920212223
  1. # the config for srs to delivery dash
  2. # @see https://github.com/ossrs/srs/wiki/v1_CN_SampleDASH
  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. }