Changelog
All notable changes to OpenAVX are documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
[Unreleased]
[0.2.2] - 2026-11-25
Fixed
- Windows Networking & Port Allocation:
- Use
SO_EXCLUSIVEADDRUSEon Windows TCP server listeners insrc/avx_socket.c(avx_socket_set_server_bind_opts) instead ofSO_REUSEADDR, preventing port hijacking across co-located transmitters and restoring dynamic port fallback. - Added socket receive timeouts and Win32 socket initialization (
WSAStartup) / POSIX compat macro fallbacks (S_ISREG,S_ISDIR,strcasecmp) for MSVC.
- Use
- Windows DirectShow, QPC Timer & Portability:
- Fixed MSVC
C2375linkage conflict insrc/avx_dshow_filter.cusing#pragma comment(linker, "/EXPORT:..."). - Fixed 64-bit
QueryPerformanceCountermultiplication overflow inavx_time_ns()and replaced hardcoded/tmppaths withGetTempPathA()inopenavx_config_test. - Resolved MSVC Media Foundation, rate control, audio, and SIMD export/linkage issues across tests.
- Fixed MSVC
- macOS & Linux Headless Portability:
- Resolved macOS BSD socket / VideoToolbox compatibility and CoreMediaIO DAL struct alignment, plus headless ALSA teardown segfault on Linux.
- CI & Test Suite Hardening:
- Updated
is_emulated_cpu()intest/openavx_simd_audit_test.cto detectqemu-aarch64(CPU implementer: 0x00) insidelinux/arm64Docker Buildx containers. - Fixed stall-detection and backup-connection sequencing in
test/openavx_failover_test.cand added CTest timeouts to prevent runner deadlocks.
- Updated
Changed
- Documentation:
- Refined
README.mdwith an Architecture & CLI overview, minimal C99 library example, accurate multi-platform tarball/GHCR Docker instructions, expanded feature list, Contributing section, and Star History.
- Refined
[0.2.1] - 2026-11-24
Fixed
- Windows MSVC Compatibility:
- Replaced POSIX
<strings.h>with portable#include <string.h>across network and pipeline subsystems. - Replaced direct
<pthread.h>insrc/avx_simd.cwith native Win32InitOnceExecuteOnce. - Guarded GCC
__attribute__((target("avx2,fma")))syntax behindAVX_TARGET_AVX2macro for MSVCcl.exe. - Harmonized
OPENAVX_APIDLL export linkage foravx_router_get_sourceininclude/avx_internal.h.
- Replaced POSIX
- macOS CoreMediaIO & Timing Portability:
- Aligned
CMIOHardwarePlugInInterfacestructure members with Apple’s native CoreMediaIO SDK (includingDAL_ObjectShowreturningvoid,DAL_DeviceSuspend, andDAL_DeviceResume). - Added portable
nanosleepfallback forclock_nanosleep(CLOCK_MONOTONIC, TIMER_ABSTIME)on macOS and Windows intest/openavx_stream_bench.c.
- Aligned
- CI Test Suite Hardening:
- Relaxed real-time client decimation timeouts and thresholds in
oavx_multiclient_testandopenavx_congestion_testfor shared virtual-CPU runner environments. - Added binary search fallback in
openavx_monitor_testto support headless CTest execution directories.
- Relaxed real-time client decimation timeouts and thresholds in
[0.2.0] - 2026-11-24
Added
- Tri-Platform Virtual Camera Suite:
- Linux: Native user-space PipeWire virtual camera sink (
src/avx_pipewire_sink.c) and V4L2 loopback sink (src/avx_v4l2_sink.c). - Windows: DirectShow in-process COM virtual camera filter (
src/avx_dshow_filter.c,src/avx_dshow_sink.c) exposingIBaseFilter,IPin,IAMStreamConfig,IKsPropertySet, and self-registration COM exports. - macOS: CoreMediaIO DAL hardware plug-in (
src/avx_dal_plugin.c,src/avx_dal_sink.c) exposingCMIOHardwarePlugInInterface. - Cross-platform shared memory ring buffer IPC (
src/avx_virtcam_ipc.c). openavx virtcamCLI withdoctor,install, and embedded HTTP/WebSocket web receiver (--web 8080) bridging smartphone cameras into desktop virtual cameras.
- Linux: Native user-space PipeWire virtual camera sink (
- WAN Transport, RUDP & Pro-Grade Resilience:
- SMPTE ST 2022-1 2D XOR Forward Error Correction (FEC) engine for packet recovery over lossy links.
- Reliable UDP (RUDP) with selective NACK retransmission, dynamic NACK pacing, live RTT telemetry, and BDP queue expansion.
- Hybrid GCC/BBR adaptive bitrate (ABR) and dynamic FEC rate controller.
- Centralized WAN discovery and UDP relay server with STUN reflection.
- End-to-End Encryption (E2EE):
- Native ChaCha20-Poly1305 / XChaCha20 stream encryption with Blake2b key derivation for zero-latency encrypted broadcast links.
- Pro Audio Engine (Up to 32 Channels):
- 16 and 32-channel pro-audio matrix transport across TCP, RUDP, and IMA ADPCM.
- Audio channel matrix routing, broadcast Lt/Rt downmixing, and 5.1 surround upmixing.
- Hardware Video Codecs & Simulcast:
- Hardware encoder backends and auto-detection: NVIDIA NVENC, Intel QSV, AMD AMF on Linux/Windows, and Apple VideoToolbox on macOS.
- On-demand lazy hardware simulcast and dynamic in-flight codec re-negotiation.
- Native 10-bit
P216video decoder pipeline with automatic Annex-B / AVCC length-prefix conversion.
- Live Broadcast Tally & Control:
- Tally Command & Control API with Server-Sent Events (SSE) and REST streaming (
openavx tally). - Program (red), Preview (green), and Recording (amber) live tally states with smartphone browser border feedback.
- Tally Command & Control API with Server-Sent Events (SSE) and REST streaming (
- Native RFC 2326 RTSP / RTP Subsystem:
- Clean-break native implementation of RFC 2326 RTSP 1.0 client/server and RFC 3550/6184/7798/9584 RTP packetization/demuxing (
src/avx_rtsp.c,include/avx_rtsp.h).
- Clean-break native implementation of RFC 2326 RTSP 1.0 client/server and RFC 3550/6184/7798/9584 RTP packetization/demuxing (
- Alpine Linux & musl Distribution Support:
- Full CI build & test container workflow (
alpine:3.20) and release packaging job generatingopenavx-${VERSION}-linux-x86_64-musl.tar.gz. - Configured POSIX thread stack sizes in receiver workers to accommodate musl’s default 128KB stack limit.
- Full CI build & test container workflow (
- Packaging Standardization & CLI Symlinks:
- Standardized cross-platform artifact naming formula to
{project}-{version}-{os}-{arch}[-{variant}].{ext}with canonicalx86_64architecture tokens. - Added missing
openavx-virtcamandopenavx-tallyconvenience symlinks to CMake install and CPack packaging targets.
- Standardized cross-platform artifact naming formula to
- C99 Portability Compliance:
- Refactored 64-bit discrete audio channel mask (
OAVX_AUDIO_MASK_DISCRETE) to a macro for ISO C99-Wpedanticcompliance.
- Refactored 64-bit discrete audio channel mask (
- Licensing, Attribution & Contributor Governance:
- Relicensed project under GNU AGPLv3 with Section 7 Linking Exception (
AGPL-3.0-or-later WITH Classpath-exception-2.0). - Established Contributor License Agreement (
CLA.md) with comprehensive multi-tier sublicensing and dual-licensing rights. - Integrated automated GitHub Actions CLA Assistant bot (
.github/workflows/cla.yml) with isolatedcla-signaturesbranch storage. - Standardized SPDX and Copyright headers across 100% of native source, header, test, and fuzz files.
- Formalized upstream attribution for FFmpeg SpeedHQ under
LGPL-2.1-or-laterinTHIRD_PARTY_LICENSES.md. - Uniform
.clang-formatconfiguration for C99/C++11. - Expanded test suite to 54 CTest test targets with 100% pass rate.
- Relicensed project under GNU AGPLv3 with Section 7 Linking Exception (
Changed
- Segregated third-party dependencies and platform fallbacks into dedicated
third-party/directories (third-party/monocypher/,third-party/pipewire/,third-party/proprietary/cmio/). - Refactored transmitter pipeline into modular companion files (
avx_send_aux.c,avx_send_profiles.c,avx_send_client.c). - Optimized SpeedHQ codec with parallel slice threading and reciprocal fixed-point quantization.
- Expanded WebSocket and HTTP ingress buffer to 16KB for high-framerate smartphone video streaming.
[0.1.0] - 2026-11-11 (Initial Testing Preview)
Note: Early
v0.1.0testing release (not production-ready; API and wire behavior may evolve prior to1.0.0).
Added
- Native C99 library (
libopenavx) and header-only C++11 RAII wrapper (include/openavx.h,include/openavx.hpp). - Zero-dependency IPv4 mDNS/DNS-SD discovery, unicast registry fallback, and standalone TCP discovery server daemon.
- Low-latency TCP framing and fragmented UDP / RUDP selective-NACK transport.
- Standalone C99 SpeedHQ (
SHQ0–SHQ5,SHQ7,SHQ9,UYVA) codecs plus optional runtimedlopen()H.264/HEVC/AV1 RTSP decode and Opus audio codec support. - Runtime-dispatched x86_64 AVX2/FMA and ARM NEON color/alpha/DCT kernels with scalar C99 fallbacks, HDR
<oavx_color_info>XML metadata, 10-bitV210/P216packing, and audio resampling/BS.775-3 downmixing. - Clock-decoupled
avx_framesync, crosspoint matrix router with tally feedback, HTTP/1.1 fMP4 web preview, and RTSP/RTP bridge. - Public logging controls in
openavx.h(oavx_log_level_e,oavx_log_callback_t,oavx_set_log_level,oavx_get_log_level,oavx_set_log_callback,oavx_log_write) backed bysrc/avx_log.c. - Unified
openavxCLI (find,monitor,route,pattern,gateway,server) with shared banners,stdout/stderrseparation, POSIX TTY color gating, live status tickers,-q/--quietsupport, compatibility symlinks, 43 CTest targets, and 11 libFuzzer harnesses. - Multi-OS CI workflow (
ubuntu-22.04,macos-15,windows-2025), multi-platform release automation, issue/PR templates, and governance docs (SECURITY.md,MAINTAINERS.md,CODE_OF_CONDUCT.md,.github/CODEOWNERS).