2
0

clion.conf 1019 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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 1985;
  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. vhost __defaultVhost__ {
  29. rtc {
  30. enabled on;
  31. # @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#rtmp-to-rtc
  32. rtmp_to_rtc on;
  33. # @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#rtc-to-rtmp
  34. rtc_to_rtmp on;
  35. }
  36. http_remux {
  37. enabled on;
  38. mount [vhost]/[app]/[stream].flv;
  39. }
  40. }