live.conf 513 B

12345678910111213141516171819202122232425262728
  1. # Live streaming config for SRS.
  2. # @see full.conf for detail config.
  3. listen 1935;
  4. max_connections 1000;
  5. srs_log_tank console;
  6. daemon off;
  7. http_api {
  8. enabled on;
  9. listen 1985;
  10. }
  11. http_server {
  12. enabled on;
  13. listen 8080;
  14. dir ./objs/nginx/html;
  15. }
  16. vhost __defaultVhost__ {
  17. hls {
  18. enabled on;
  19. }
  20. http_remux {
  21. enabled on;
  22. mount [vhost]/[app]/[stream].flv;
  23. }
  24. }