Skip to content

null — Test Sink / Source

The workhorse of testing: null implements the full plugin ABI cheaply, so you can exercise any host — measure throughput, validate wiring — without real hardware or a network. As a sink it discards frames; as a source it generates synthetic ones.

  • Library: libplugin-null.so · Implementation: Rust

Minimal — typically just a direction:

{ "direction": "tx" }

(tx = source, rx = sink.) When used as input-processor’s output sink it can also publish stats over MQTT (mqtt_broker, mqtt_topic_prefix, mqtt_client_id, frame_rate) — see input-processor.

Built by plugins/phrame-make.sh (cargo build --release). Implements the full ABI cheaply, making it the reference for exercising hosts without real hardware or network — it backs the *-to-null.sh test scripts and CPU/throughput benchmarks.