2
0

clion.conf 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. listen 1935;
  2. max_connections 1000;
  3. daemon off;
  4. srs_log_tank console;
  5. http_server {
  6. enabled on;
  7. listen 8080;
  8. dir ./objs/nginx/html;
  9. }
  10. http_api {
  11. enabled on;
  12. listen 8080;
  13. }
  14. stats {
  15. network 0;
  16. }
  17. rtc_server {
  18. enabled on;
  19. # Listen at udp://8000
  20. listen 8000;
  21. #
  22. # The $CANDIDATE means fetch from env, if not configed, use * as default.
  23. #
  24. # The * means retrieving server IP automatically, from all network interfaces,
  25. # @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#config-candidate
  26. candidate $CANDIDATE;
  27. }
  28. srt_server {
  29. enabled on;
  30. listen 10080;
  31. maxbw 1000000000;
  32. connect_timeout 4000;
  33. peerlatency 0;
  34. recvlatency 0;
  35. latency 0;
  36. tsbpdmode off;
  37. tlpktdrop off;
  38. sendbuf 2000000;
  39. recvbuf 2000000;
  40. }
  41. vhost __defaultVhost__ {
  42. rtc {
  43. enabled on;
  44. # @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#rtmp-to-rtc
  45. rtmp_to_rtc on;
  46. # @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#rtc-to-rtmp
  47. rtc_to_rtmp on;
  48. }
  49. http_remux {
  50. enabled on;
  51. mount [vhost]/[app]/[stream].flv;
  52. }
  53. hls {
  54. enabled on;
  55. }
  56. srt {
  57. enabled on;
  58. srt_to_rtmp on;
  59. }
  60. }