https.hls.conf 742 B

1234567891011121314151617181920212223242526272829
  1. # the config for srs to delivery hls
  2. # @see https://github.com/ossrs/srs/issues/1657#issuecomment-722971676
  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. https {
  13. enabled on;
  14. listen 8088;
  15. key ./conf/server.key;
  16. cert ./conf/server.crt;
  17. }
  18. }
  19. vhost __defaultVhost__ {
  20. hls {
  21. enabled on;
  22. hls_fragment 10;
  23. hls_window 60;
  24. hls_path ./objs/nginx/html;
  25. hls_m3u8_file [app]/[stream].m3u8;
  26. hls_ts_file [app]/[stream]-[seq].ts;
  27. }
  28. }