Files
OpenIPC_RTL8812AU_Forword_cpp/config.windows.example.yaml
T
2026-09-13 13:30:21 +08:00

70 lines
2.2 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# fpv-relay (C++) Windows 示例配置
# Windows 使用 devourer(用户态 libusb 驱动) 直接接管 RTL8812AU 做 wfb 采集/上行,
# 无需内核 monitor 驱动;需先用 Zadig 把网卡驱动替换为 WinUSB。
#
# 天空端固定参数(OpenIPC/PixelPilot):link_id=7669206,视频 radio_port=0,
# mavlink 下行 radio_port=0x10(16),上行 radio_port=160,epoch=0,密钥 gs.key。
# HTTP 状态页(可选):浏览器打开 http://127.0.0.1:8080/ ,JSON 在 /status ,指标在 /metrics
status:
enabled: true
address: ":8080"
# RTSP 兼容输出(可选):ffplay/VLC 可拉 rtsp://<本机>:8554/<name>
rtsp:
enabled: false
address: ":8554"
udp_base: 8000 # >0 时同时支持 UDP 传输;TCP interleaved 始终支持
# 上行链路(可选):本机 mavlink/遥控 → RTL8812AU 原始注入 → 天空端
# 与采集共用同一块网卡(同 usb_vid/usb_pid),请保证 channel 一致。
uplink:
- enabled: false
usb_vid: 0x0bda
usb_pid: 0x881a
key: ass/gs.key
link_id: 7669206
radio_port: 160 # 上行数据流端口(与天空端 wfb_rx 一致)
channel: 161
bandwidth: 20
mcs_index: 1
fec_k: 2
fec_n: 4
udp_port: 14551 # 本地监听 mavlink 的端口(QGC/MAVProxy 发到这里)
captures:
# USB(devourer) 无线采集:RTL8812AU 用户态 monitor 收包
- name: drone1
type: wfb
usb_vid: 0x0bda
usb_pid: 0x881a # 0bda:881a(RTL8812AU-VS)
key: ass/gs.key
link_id: 7669206
radio_port: 0
epoch: 0
channel: 161
bandwidth: HT20 # HT20 / HT40+
region: BO
codec: h265
forward:
- "127.0.0.1:5700" # 裸 RTP 直推目标(可多个)
- "192.168.1.50:5600"
# DVR 录制(可选):把该路 H265 还原成 Annex-B 裸流按时间分片存盘
record:
enabled: false
dir: records
segment_seconds: 300
segment_mb: 0
# 遥测下行(可选):接收天空端 mavlink 流并转发给本机 QGC(14550)
mavlink:
enabled: false
radio_port: 16
target: "127.0.0.1:14550"
# UDP 输入(跨平台/测试):从别处喂入已解密的 RTP
# - name: drone2
# type: udp
# listen: "0.0.0.0:5602"
# codec: h265
# forward: ["127.0.0.1:5701"]