# go2rtc 配置文件 - CT-IP500
# 启动命令: ./go2rtc -config go2rtc_ct-ip500.yaml
# Web界面: http://localhost:1987

streams:
  # CT-IP500 摄像头 (IPC-D53000系列) - 使用大华风格 RTSP 路径
  ct-ip500:
    - rtsp://admin:admin@192.168.0.100:554/cam/realmonitor?channel=1&subtype=0

  # 主码流 (640x480 H.264)
  ct-ip500_main:
    - rtsp://admin:admin@192.168.0.100:554/cam/realmonitor?channel=1&subtype=0

  # 子码流
  ct-ip500_sub:
    - rtsp://admin:admin@192.168.0.100:554/cam/realmonitor?channel=1&subtype=1

webrtc:
  candidates:
    - stun:stun.l.google.com:19302

api:
  listen: ":1987"
  origin: "*"

log:
  level: info
  format: text
