Nightjar 6.4.1
Nightjar 6.4.1 delivers low-latency surround audio on Android, full isochronous USB forwarding on desktop, major desktop power/pacing and Steam Deck Smoothness fixes, multi-endpoint Tailscale/CGNAT support, and dozens of reliability, UI, and security fixes across Android, Windows, Linux, and macOS.
Android
- Low-latency surround sound via AAudio. 5.1, 7.1 and 7.1.4 sound now plays through low-latency AAudio on Android 12L and newer, removing the delay surround had behind the picture. Thanks to Mirko (@kobimx, #156).
- Pinned refresh-rate recovery & fractional FPS. Keeps pinned high refresh rates locked on phones whose idle display controller drops to 60 Hz mid-stream (#168), and preserves exact custom fractional FPS values through RTSP ANNOUNCE (#119).
- Custom FPS, Reverse landscape, and
INPUT_ONLYscaling. Adds a Custom… (10–500FPS) option to the FPS picker (#162), Reverse landscape orientation for left-side USB-C controllers (#152), and isotropic touch/trackpad scaling inINPUT_ONLYmode (#183). - On-screen controls, Steam trackpad, and USB controllers. Lowers per-control on-screen opacity down to 0% with proportional press brightening (#171), fixes Steam Controller trackpad normal touches so drags and holds do not trigger accidental clicks (#150), and automatically releases controllers held by Nightjar's built-in USB driver when forwarded over USB.
- Android TV polish & settings fixes. Wires controller
X/Yand TV remoteINFObuttons in TV settings to open setting help popups (#140), fixes Home top-fade offset (#155), Retry focus clipping, top-bar D-pad Down focus routing, and post-disconnect status refreshes (#7), and loads cached host capabilities so Jumbo video packets and PyroWave frame pace appear immediately for saved PCs (Rubylight #153). - Video, Vulkan, and lifecycle hardening. Fixes Vulkan
decodeDonesemaphore cleanup on pre-submit frame exits, passthroughAudioTrackrelease onplay()errors, MediaCodec/PyroWave recovery and handover races, host polling/app-list refresh races, SAF file transfer permissions, and touch/keyboard cancel cleanup.
Desktop (Windows, Linux, macOS)
- Full isochronous USB forwarding. Desktop USB forwarding now supports isochronous endpoints — including webcams, USB audio devices, and composite controllers or wireless adapters with auxiliary audio interfaces — across Windows (native inbox
winusb.dllwithLOAD_LIBRARY_SEARCH_SYSTEM32and existinglibusbKbindings), macOS (libusb), and Linux (usbip-hostwith automaticlibusbfallback, including Flatpak). - Lower idle CPU and power draw on Windows 11. Eliminates sub-millisecond poll busy-spinning, 62.5 Hz idle launcher wakeups from connected controllers, and resting-stick/IMU noise keeping high-rate motion polling active (#179).
- Steam Deck OLED & Linux Smoothness pacing. Widens near-rate stale-frame margins (such as 90 fps on 89.89 Hz OLED panels), caps DRI3 swap backlog cleanly, and adds DRM/EGL vblank sync hysteresis to stop post-dropout source flapping (#175).
- Windowed launcher & relative-to-Native scaling. Adds Windowed launcher under Settings → App so menus stay windowed while streams run fullscreen or borderless (#167, #177), and adds Native (75%) and Native (50%) dynamic resolution presets under Settings → Video (#137).
- Bluetooth DualShock 4 gyro, V4L2 M2M, and PyroWave diagnostics. Requests enhanced HID reports (
SDL_HINT_JOYSTICK_ENHANCED_REPORTS) and re-cycles motion sensors on host re-request (#177), stops sticky-caching failed V4L2 M2M probes and uses multi-frame Main10 probes for ARM64 hardware decoders (#77), and logs PyroWave GPU probe failure reasons tonightjar.log(#159).
Shared Core & Networking
- Tailscale / CGNAT & multi-address hosts. Classifies RFC 6598 CGNAT (
100.64.0.0/10) and Tailscale IPv6 (fd7a:115c:a1e0::/48) explicitly as overlay/VPN paths and preserves/probes 3+ endpoints per host viaother_addresses(#164). - Core, protocol, and security fixes. Hardens RTSP cipher nonce monotonicity and
CSeqchecks, cross-origin redirect header stripping, stricti64wire clock-offset validation, RAII decoder/renderer cleanup on thread-spawn failure, composite USB non-contiguous interface claiming, host-store unknown-field preservation, and loopback-only test socket bindings.
Tested. Automated verification passed across the client Rust workspace (4,234 passed across nightjar-core, nightjar-policy, nightjar-android, nightjar-desktop, nightjar-desktop-media, nightjar-desktop-ui, nightjar-desktop-config, rubylight-protocol, and supporting crates; no_std, clippy -D warnings, Rust 1.100.0, and 4-ABI NDK prebuilts), Android Gradle (6,180 non-root and 5 root unit tests, debug and release lint, 4-ABI NDK and Rust builds, and R8-minified release APKs), settings/i18n/doc-link checks, and GitHub CI across Android, Windows, Linux, and macOS.