How saifmukhtar/openavx works
OpenAVX is an IP audio/video transport library with CLI tools for live production workflows. The principal path is generating or supplying media, transmitting it over TCP/RUDP, receiving it, then previewing, routing, or adapting it to browser and virtual-camera outputs. Separate branches provide discovery, gateway protocols, tally, and camera control. The excerpts show the public pipeline API and routing’s receive-to-send behavior; several other subsystems are represented from README capabilities because their implementation excerpts were not provided.
Main entry points: avx_recv.c Stream Receiver · openavx_virtcam.c Virtual Camera CLI · openavx_main.c CLI Dispatcher · oavx_pipeline.c Public Stream API
Components 33
Media Pipeline
- Public Stream API
src/oavx_pipeline.c - Stream Sender
src/avx_send.c - Stream Receiver
src/avx_recv.c - Audio Engine
src/avx_audio.c - Audio Codec
src/avx_audio_codec.c - Video Codec
src/avx_video_codec.c - SpeedHQ Codec
src/avx_speedhq.c - Sync and Rate Control
src/avx_framesync.c
Transport and Discovery
- Wire Framing
src/avx_wire.c - UDP and RUDP
src/avx_udp.c - FEC Protection
src/avx_fec.c - Encryption
src/avx_crypto.c - Stream Discovery
src/avx_find.c - Directory Server
src/avx_discovery_server.c
Production Tools
- CLI Dispatcher
tools/openavx_main.c - Pattern Generator
tools/openavx_test_pattern.c - Router CLI
tools/openavx_router.c - Matrix Router
src/avx_routing.c - Tally Control
tools/openavx_tally.c - ONVIF and PTZ
tools/openavx_onvif.c
Playback and Outputs
- Terminal Monitor
tools/openavx_monitor.c - Virtual Camera CLI
tools/openavx_virtcam.c - HTTP and RTSP Gateway
tools/openavx_gateway.c - Web and fMP4 Server
src/avx_web.c - RTSP Server
src/avx_rtsp.c
Platform Media
- V4L2 Sink
src/avx_v4l2_sink.c - PipeWire Sink
src/avx_pipewire_sink.c - DirectShow Sink
src/avx_dshow_sink.c - CoreMediaIO DAL Sink
src/avx_dal_sink.c
Other components
- Operator or SDK
- LAN Streams
- Browser or Player
- Camera Applications
Connections 35
- Operator or SDK → CLI Dispatcher: runs commands
README.md - Operator or SDK → Public Stream API: supplies media
README.md - CLI Dispatcher → Pattern Generator: selects pattern
README.md - Pattern Generator → Public Stream API: sends frames
- Public Stream API → Stream Sender: dispatches transmit
src/oavx_pipeline.c - Public Stream API → Stream Receiver: polls receive
src/oavx_pipeline.c - Stream Sender → Wire Framing: frames packets
- Stream Sender → UDP and RUDP: sends RUDP
- UDP and RUDP → FEC Protection: protects packets
- UDP and RUDP → Encryption: encrypts traffic
- Stream Receiver → Wire Framing: parses packets
- Stream Receiver → Sync and Rate Control: synchronizes frames
- Audio Engine → Audio Codec: converts audio
- Video Codec → SpeedHQ Codec: supports compression
- Stream Receiver → Terminal Monitor: provides frames
README.md - Stream Receiver → Virtual Camera CLI: provides stream
README.md - Virtual Camera CLI → V4L2 Sink: writes video
- Virtual Camera CLI → PipeWire Sink: writes video
- Virtual Camera CLI → DirectShow Sink: feeds driver
- Virtual Camera CLI → CoreMediaIO DAL Sink: feeds driver
- Camera Applications → Virtual Camera CLI: consumes camera
README.md - Stream Receiver → HTTP and RTSP Gateway: provides stream
README.md - HTTP and RTSP Gateway → Web and fMP4 Server: serves fMP4
- HTTP and RTSP Gateway → RTSP Server: serves RTSP
- Browser or Player → Web and fMP4 Server: plays stream
README.md - Browser or Player → RTSP Server: requests stream
README.md - CLI Dispatcher → Router CLI: selects route
README.md - Router CLI → Stream Discovery: resolves sources
tools/openavx_router.c - Router CLI → Matrix Router: sets route
tools/openavx_router.c - Matrix Router → Stream Receiver: receives upstream
src/avx_routing.c - Matrix Router → Stream Sender: forwards frames
src/avx_routing.c - CLI Dispatcher → Tally Control: sets tally
README.md - CLI Dispatcher → ONVIF and PTZ: controls cameras
README.md - Stream Discovery → LAN Streams: discovers transmitters
README.md - Directory Server → LAN Streams: lists streams
README.md