2
0

push.flv.conf 759 B

1234567891011121314151617181920212223242526272829
  1. # push HTTP FLV to SRS.
  2. # @see https://ossrs.net/lts/zh-cn/docs/v4/doc/streamer#push-http-flv-to-srs
  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. stream_caster {
  14. enabled on;
  15. caster flv;
  16. output rtmp://127.0.0.1/[app]/[stream];
  17. listen 8936;
  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. }