APALink
APALink is an external C utility designed to keep an AP FPV video link usable under changing RF conditions. It can switch to a lower bitrate when signal strength becomes weak.
What it does
APALink monitors the link and applies fallback logic. For example, it can reduce video bitrate to 2 Mbps when the signal drops below a configured threshold.
Installation summary
- Open the APALink source repository: CaraSandbox.
- Follow the README in that repository.
- Copy the
ap_alinkbinary to/usr/bin. - Copy
ap_alink.confto/etc/. - Optionally copy
vtxmenu.inito/etc/to enable an AP FPV menu.
Make the binary executable:
chmod +x /usr/bin/ap_alinkConfiguration
Edit /etc/ap_alink.conf:
bitrate_max=22bitrate_min=2dbm_threshold=-47Settings:
bitrate_max: bitrate used under good signal conditions.bitrate_min: fallback bitrate used under weak signal conditions.dbm_threshold: signal threshold where fallback starts.
A lower threshold keeps higher image quality for longer, but may increase lag or freezes under weak signal. A higher threshold triggers fallback sooner, usually reducing lag at the cost of image quality.
Example settings
BL-M8812EU2:
bitrate_max=12bitrate_min=2dbm_threshold=-52BL-R8812AF1:
bitrate_max=10bitrate_min=2dbm_threshold=-48VTX menu
With vtxmenu.ini, AP FPV settings can be exposed through an MSP-style menu. Typical items include:
- TX power: min/max presets such as
1500or2000. - Channel: available 5 GHz Wi-Fi channels.
- Auto power: enable or disable automatic TX power behavior.