2
0

regression-test-for-clion.conf 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. listen 1935;
  2. max_connections 1000;
  3. # For clion, use console as output.
  4. daemon off;
  5. srs_log_tank console;
  6. stream_caster {
  7. enabled on;
  8. caster gb28181;
  9. output rtmp://127.0.0.1/live/[stream];
  10. listen 9000;
  11. sip {
  12. enabled on;
  13. listen 5060;
  14. timeout 2.1;
  15. reinvite 1.2;
  16. }
  17. }
  18. http_server {
  19. enabled on;
  20. listen 8080;
  21. dir ./objs/nginx/html;
  22. }
  23. http_api {
  24. enabled on;
  25. listen 1985;
  26. }
  27. stats {
  28. network 0;
  29. }
  30. rtc_server {
  31. enabled on;
  32. listen 8000;
  33. candidate $CANDIDATE;
  34. }
  35. vhost __defaultVhost__ {
  36. rtc {
  37. enabled on;
  38. rtmp_to_rtc on;
  39. keep_bframe off;
  40. rtc_to_rtmp on;
  41. }
  42. play {
  43. atc on;
  44. }
  45. http_remux {
  46. enabled on;
  47. mount [vhost]/[app]/[stream].flv;
  48. drop_if_not_match on;
  49. }
  50. ingest livestream {
  51. enabled on;
  52. input {
  53. type file;
  54. url ./doc/source.200kbps.768x320.flv;
  55. }
  56. ffmpeg ./objs/ffmpeg/bin/ffmpeg;
  57. engine {
  58. enabled off;
  59. output rtmp://127.0.0.1:[port]/live/livestream;
  60. }
  61. }
  62. }