go2rtc_all.yaml 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. # go2rtc 配置文件 - 4 个摄像头统一配置
  2. # 启动命令: ./go2rtc -config go2rtc_all.yaml
  3. # Web界面: http://localhost:1984
  4. streams:
  5. # ========== HIKVISION PTZ 球机 ==========
  6. # IP: 192.168.0.64 | 型号: DS-2DE2A404IW-DE3
  7. hikvision:
  8. - rtsp://admin:Wxc767718929@192.168.0.64:554/Streaming/Channels/101
  9. hikvision_sub:
  10. - rtsp://admin:Wxc767718929@192.168.0.64:554/Streaming/Channels/102
  11. # ========== ANPVIZ 枪机 ==========
  12. # IP: 192.168.0.96 | 型号: L12D2_19_IR_AF | H.265 需要转码
  13. anpviz:
  14. - ffmpeg:rtsp://admin:123456@192.168.0.96:554/Streaming/Channels/101#video=h264
  15. anpviz_raw:
  16. - rtsp://admin:123456@192.168.0.96:554/Streaming/Channels/101
  17. anpviz_sub:
  18. - rtsp://admin:123456@192.168.0.96:554/Streaming/Channels/102
  19. # ========== CT-IP500 枪机 ==========
  20. # IP: 192.168.0.100:8999 | 型号: IPC-D53000
  21. ct-ip500:
  22. - rtsp://admin:admin@192.168.0.100:554/cam/realmonitor?channel=1&subtype=0
  23. ct-ip500_sub:
  24. - rtsp://admin:admin@192.168.0.100:554/cam/realmonitor?channel=1&subtype=1
  25. # ========== SVBC 枪机 ==========
  26. # IP: 192.168.0.246:8080 | 型号: C6F0SoZ3N0PoL2 | H.265 需要转码
  27. svbc:
  28. - ffmpeg:rtsp://admin:admin@192.168.0.246:554/1#video=h264
  29. svbc_raw:
  30. - rtsp://admin:admin@192.168.0.246:554/1
  31. svbc_sub:
  32. - rtsp://admin:admin@192.168.0.246:554/2
  33. webrtc:
  34. candidates:
  35. - stun:stun.l.google.com:19302
  36. api:
  37. listen: ":1984"
  38. origin: "*"
  39. log:
  40. level: info
  41. format: text