regression-test.conf 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. listen 1935;
  2. max_connections 1000;
  3. # Force to daemon and write logs to file.
  4. daemon on;
  5. disable_daemon_for_docker off;
  6. srs_log_tank file;
  7. stream_caster {
  8. enabled on;
  9. caster gb28181;
  10. output rtmp://127.0.0.1/live/[stream];
  11. listen 9000;
  12. sip {
  13. enabled on;
  14. listen 5060;
  15. timeout 2.1;
  16. reinvite 1.2;
  17. }
  18. }
  19. http_server {
  20. enabled on;
  21. listen 8080;
  22. dir ./objs/nginx/html;
  23. }
  24. http_api {
  25. enabled on;
  26. listen 1985;
  27. }
  28. stats {
  29. network 0;
  30. }
  31. rtc_server {
  32. enabled on;
  33. listen 8000;
  34. candidate $CANDIDATE;
  35. }
  36. vhost __defaultVhost__ {
  37. rtc {
  38. enabled on;
  39. rtmp_to_rtc on;
  40. keep_bframe off;
  41. rtc_to_rtmp on;
  42. }
  43. play {
  44. atc on;
  45. }
  46. http_remux {
  47. enabled on;
  48. mount [vhost]/[app]/[stream].flv;
  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. }