realtime.flv.conf 685 B

1234567891011121314151617181920212223242526272829303132
  1. # the config for srs to delivery realtime RTMP stream
  2. # @see https://ossrs.net/lts/zh-cn/docs/v4/doc/sample-realtime
  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].flv;
  17. }
  18. tcp_nodelay on;
  19. min_latency on;
  20. play {
  21. gop_cache off;
  22. queue_length 10;
  23. mw_latency 100;
  24. }
  25. publish {
  26. mr off;
  27. }
  28. }