http.ts.live.conf 513 B

1234567891011121314151617181920
  1. # the config for srs to remux rtmp to ts live stream.
  2. # @see https://github.com/ossrs/srs/wiki/v2_CN_DeliveryHttpStream
  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. http_remux {
  15. enabled on;
  16. mount [vhost]/[app]/[stream].ts;
  17. hstrs on;
  18. }
  19. }