gb28181-without-sip.conf 913 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. listen 1935;
  2. max_connections 1000;
  3. daemon off;
  4. srs_log_tank console;
  5. stream_caster {
  6. enabled on;
  7. caster gb28181;
  8. output rtmp://127.0.0.1/live/[stream];
  9. listen 9000;
  10. sip {
  11. enabled off;
  12. }
  13. }
  14. http_server {
  15. enabled on;
  16. listen 8080;
  17. dir ./objs/nginx/html;
  18. }
  19. http_api {
  20. enabled on;
  21. listen 1985;
  22. }
  23. stats {
  24. network 0;
  25. }
  26. rtc_server {
  27. enabled on;
  28. listen 8000; # UDP port
  29. # @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#config-candidate
  30. candidate $CANDIDATE;
  31. }
  32. vhost __defaultVhost__ {
  33. rtc {
  34. enabled on;
  35. # @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#rtmp-to-rtc
  36. rtmp_to_rtc on;
  37. # @see https://ossrs.net/lts/zh-cn/docs/v4/doc/webrtc#rtc-to-rtmp
  38. rtc_to_rtmp on;
  39. }
  40. http_remux {
  41. enabled on;
  42. mount [vhost]/[app]/[stream].flv;
  43. }
  44. hls {
  45. enabled on;
  46. }
  47. }