# go2rtc 配置文件
# 启动命令: ./go2rtc -config go2rtc.yaml

streams:
  # 摄像头源
  camera1: rtsp://admin:Wxc767718929@192.168.0.64:554/Streaming/Channels/101

  # 推送到 Cloudflare Stream (使用 FFmpeg 转码)
  cloudflare_push: ffmpeg:camera1#video=copy#audio=aac#output=rtmps://live.cloudflare.com:443/live/a6ab89289f20807d84b56bbb899f296ek3c1ae1949e76f200feef94b8f7d093ca

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

api:
  listen: ":1984"
  origin: "*"

log:
  level: info
