2
0

srt.conf 628 B

12345678910111213141516171819202122232425262728293031323334353637
  1. # SRT config.
  2. listen 1935;
  3. max_connections 1000;
  4. srs_log_tank console;
  5. daemon off;
  6. http_api {
  7. enabled on;
  8. listen 1985;
  9. }
  10. http_server {
  11. enabled on;
  12. listen 8080;
  13. dir ./objs/nginx/html;
  14. }
  15. srt_server {
  16. enabled on;
  17. listen 10080;
  18. maxbw 1000000000;
  19. connect_timeout 4000;
  20. peerlatency 300;
  21. recvlatency 300;
  22. }
  23. # @doc https://github.com/ossrs/srs/issues/1147#issuecomment-577607026
  24. vhost __defaultVhost__ {
  25. }
  26. vhost srs.srt.com.cn {
  27. }
  28. stats {
  29. network 0;
  30. disk sda sdb xvda xvdb;
  31. }