|
@@ -2,8 +2,12 @@
|
|
|
# 启动命令: ./go2rtc -config go2rtc.yaml
|
|
# 启动命令: ./go2rtc -config go2rtc.yaml
|
|
|
|
|
|
|
|
streams:
|
|
streams:
|
|
|
|
|
+ # 摄像头源
|
|
|
camera1: rtsp://admin:Wxc767718929@192.168.0.64:554/Streaming/Channels/101
|
|
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:
|
|
webrtc:
|
|
|
candidates:
|
|
candidates:
|
|
|
- stun:stun.l.google.com:19302
|
|
- stun:stun.l.google.com:19302
|