Open source from Noise Factor · more projects
Sync connects browser renderers to native video and audio tools on the same computer. It receives video frames over authenticated loopback WebSockets and publishes them through native video providers. Web applications such as Noisedeck then appear in standard native source pickers without a custom plugin in each receiving app.
In the other direction, Sync captures multichannel audio from native interfaces and delivers signed float32 PCM samples to browser controls.
An optional native render helper (sync-render) also renders live Noisemaker programs from a Seance session directly into Sync's native outputs.
Sync is under active development. This source tree includes:
- an independently versioned wire protocol (
v1) for control, RGBA, NV12, macOS H.264 Annex B video frames, and bounded float32 PCM audio - a dependency-free browser SDK (
@noisefactor/sync0.3.5in this checkout) with bounded discovery, explicit pairing, and separate control and sender-data sockets - browser video senders for direct RGBA, Canvas 2D, WebGL2, WebGPU, NV12, and macOS H.264 Annex B, plus native audio input
- a native C++20 loopback daemon (
syncd) with revocable per-origin authorization, bounded sender ownership, and native capture for 1 to 32 audio channels per source - a macOS Metal publisher with dynamically discovered Syphon integration, a CoreMediaIO
Sync Camerasystem extension, and dynamically discovered NDI output - a Windows dynamically discovered Spout publisher, a Windows 11 Media Foundation virtual camera, and dynamically discovered NDI output
- an Ubuntu 24.04 user daemon (
syncdandsyncctl) with an owner-only control socket, a stockv4l2loopbackSync Cameraoutput, and optional NDI output - an Apple Silicon menu-bar app (
Sync.app) and a Windows x64 tray app (Sync.exe), each with bounded helper supervision - an optional native GPU render helper (
sync-render) that ships inside the macOS and Windows desktop previews - native, browser, protocol, security-boundary, packaging, real-loopback, and memory-soak tests
The macOS app, Windows app, and Ubuntu 24.04 daemon are public previews.
The download page lists the current native preview builds and SHA-256 checksums.
The performance reports record release acceptance runs and engineering measurements.
This checkout builds browser SDK @noisefactor/sync 0.3.5.
The latest published GitHub release tarball is sdk-v0.3.0 from September 14, 2026.
Reverse-direction native video sources are not part of the current public implementation.
Native audio input carries 1 to 32 channels per source over the same authenticated loopback service as video. A one-hour macOS Syphon test with a WING Rack delivered 99.97% of marked 1080p60 frames and identified all 32 channels (thermal report). CI also checks 32-channel software capture through JACK and PipeWire on Ubuntu 24.04, and 2-channel virtual-cable capture through WASAPI on Windows. Physical multichannel audio capture on Windows and Linux remains unqualified. Sustained 1080p60 delivery with 32-channel audio on Sync Camera, Spout, NDI, Windows, and Linux also remains unqualified. See the audio research, design, and qualification matrix for the complete record.
The macOS app includes a Sparkle update controller, and the Windows app includes a WinSparkle adapter.
Default builds from this source include no update signing key and check for no updates.
An unconfigured macOS build reports Automatic updates are not configured in this build.
An unconfigured Windows build reports This build does not include signed automatic updates..
The Linux package ships syncctl update.
Run sudo syncctl update enable --user <name> to add the signed Sync APT source and start a daily update timer.
Run sudo syncctl update disable to stop the timer.
These problems and limits apply to the current preview. Add an entry when you diagnose a report, and remove it when the fix ships.
- Heat limits long sessions on fanless Macs.
Sync carries 1080p60 video with 32 channels of audio.
On an M2 MacBook Air with a WING Rack, a one-hour Syphon test delivered 99.97% of marked frames.
The run identified all 32 audio channels (thermal report).
A heavy program can warm a fanless laptop until macOS lowers the GPU clock, which starves the WebCodecs encoder.
Noisemaker (
fde2ea40,9b88e567) reduced the default program's GPU cost, and Noisedeck (788feedc) skips draws while the encoder falls behind. Workaround: connect power, keep airflow clear, use a lighter program or smaller canvas, or use a Mac with a fan. - A saturated GPU stops output instead of slowing it.
When another app uses the entire GPU, the hardware encoder produces no frames and output turns dark.
Noisedeck (
729d9e62) retries and resumes sending after the GPU load ends. Starting while the GPU is full fails with a warmup timeout and does not retry. Start output again after the load ends. Recovered output registers a new Syphon server with the same name, so receivers other than OBS may require you to select the source again. - Audio can drop out briefly on a busy Mac. During the one-hour WING Rack test, one disturbance stalled the browser AudioWorklet for about three seconds. Native audio reads kept zero drops and zero cursor gaps during that stall, and audio stayed intact outside it.
- Some paths lack 1080p60 with 32-channel audio qualification. Sync Camera, Spout, NDI, Windows, and Linux lack combined 1080p60 and 32-channel audio qualification. Physical audio interface capture covers macOS only so far.
- The native render helper (
sync-render) still has limits. A Seance session with guests off refuses the helper's anonymous identity, and the render path stops. If a new program fails its first GPU render, the helper reverts to the last working program (69aee5a). If an already running program fails on every frame, output turns dark without an automatic restart. The Linux package omitssync-renderbecause the helper requires Qt 6.9 and Ubuntu 24.04 ships Qt 6.4. Hardware checks for macOS camera input, audio-to-frame response, and Windows WASAPI unplug recovery remain open. - Syphon receivers can hang when they stop mid-stream.
Syphon's
-stopand-newFrameImagemethods acquire the same lock in opposite orders upstream. Sync's own receiver probe avoids that deadlock (ab97ae5,c8f880c). Other Syphon receiver apps that stop while frames arrive can still hang. - Sync output stops when the Noisedeck window is fully covered. Chrome marks a fully covered window as hidden, so Noisedeck pauses rendering until the window becomes visible again. Workaround: keep part of the Noisedeck window visible, or move it to a second screen.
- Content blockers can block the loopback health request.
uBlock Origin, uBlock Origin Lite, and AdGuard ship EasyPrivacy and local-network rules that block public sites from reaching
127.0.0.1. Chrome logsnet::ERR_BLOCKED_BY_CLIENT, and Noisedeck reports the companion as absent. Workaround: turn off filtering for the Noisedeck origin. - Browsers require loopback permission first.
Chrome 145+ and Firefox 150+ gate
127.0.0.1behind theloopback-networkpermission. Passiveprobe()checks stop without prompting. Callingpair()orconnect()from a user action, such as Connect Sync, lets the browser show its permission prompt. Noisedeck Standalone (Electron) grants this permission by default. - macOS camera extension approval and upgrades have OS quirks.
On macOS 13 and 14, System Settings > Privacy & Security > Security shows the approval row only for a live request.
If the row does not appear, quit Sync, start it again from
/Applications, and open System Settings again. On macOS 15 and later, approve the extension under System Settings > General > Login Items & Extensions > Camera Extensions. Replacing the camera extension during an upgrade can fail inside macOS whilelaunchdremoves the old extension. When that happens, Sync showsCamera: restart your Mac to finish updating, and restarting the Mac restores the camera. - The native pairing prompt defaults to Deny.
Pressing Return in the macOS or Windows pairing dialog denies the origin.
Pressing Enter in
syncctl pairon Linux also denies the origin. - The Windows installer is not code-signed. Windows warns about an unrecognized publisher. Each release publishes a SHA-256 checksum for the installer.
- The Windows camera requires Windows 11.
Windows added
MFCreateVirtualCamerain build 22000. On Windows 10, the camera provider reportsthe camera needs Windows 11 (build 22000) or later, and other providers keep working. - Declining the Windows uninstall prompt leaves the camera registered.
Removing the camera CLSID from
HKLMrequires administrator rights, and a per-user uninstall runs without elevation. The leftover key is harmless, and the next install reuses it. Runsyncd --unregister-camerafrom an elevated prompt to remove the key manually. - Two users signed in at once share one Windows camera. The Media Foundation media source cannot select one account without an administrator-only API. Under fast user switching, the camera accepts frames from the most recent interactive sender.
Sync publishes through every selected and available provider on the running platform at once.
On Windows, one named output can appear simultaneously as a Spout sender, an NDI source, and the Sync virtual camera.
On macOS, one named output can appear simultaneously as a Syphon server, an NDI source, and Sync Camera.
Receiving applications choose whichever provider they support.
| Provider | Platform | Runtime | Bundled |
|---|---|---|---|
| Syphon | macOS | Syphon.framework |
Yes. See docs/dependencies/syphon.md. |
| Spout | Windows | SpoutLibrary.dll |
Yes. See docs/dependencies/spout.md. |
| NDI | Windows, macOS, Linux | Operator-installed NDI Runtime (libndi.so.5 on Linux) |
No. The SDK license forbids redistribution. See docs/dependencies/ndi.md. |
| Camera | macOS | Sync Camera system extension inside Sync.app |
Yes. Sync.app requests activation on first start, and you approve it once in System Settings. |
| Camera | Windows 11 | SyncCamera.dll |
Yes. Enable it once from the tray menu, which asks for administrator rights. |
| Camera | Ubuntu 24.04 x86_64 | Ubuntu v4l2loopback packages |
No kernel module ships with Sync. One-time setup configures the stock module. |
For native audio input, syncd also exposes an audio provider with direction receive.
It captures through CoreAudio on macOS, WASAPI on Windows, and ALSA or optional JACK on Linux via statically linked RtAudio.
The camera provider publishes a 1920x1080 stream so any app that accepts a camera can use it. While no sender runs, the camera shows a dark Sync waiting card instead of a black picture.
On macOS, the camera runs as a CoreMediaIO system extension inside Sync.app and appears as Sync Camera.
macOS activates the extension only for an app under /Applications and asks for approval once.
On startup, Sync.app waits briefly for activation to answer before it starts syncd.
If syncd already started while approval waited, Sync.app restarts syncd after activation completes.
On macOS 13 and 14, approve the extension in Privacy & Security.
On macOS 15 and later, approve it in General > Login Items & Extensions > Camera Extensions.
On Windows, the camera runs as a Media Foundation virtual camera named Sync, and Windows appends Windows Virtual Camera.
It requires Windows 11 (build 22000 or later) because earlier builds lack MFCreateVirtualCamera.
On Windows 10, the provider reports itself unavailable and names the build requirement.
Because the frame server loads the COM media source from HKLM, registration requires administrator rights once.
Select Enable Sync Camera… in the tray menu and approve the prompt, and Sync then restarts syncd.
The Windows camera offers NV12 first and RGB32 second, converting from one BGRA canvas per consumer so two apps can negotiate different formats.
On Ubuntu 24.04, syncd runs as an unprivileged systemd user service and exposes the camera as Sync Camera.
One-time setup writes a fixed v4l2loopback configuration and a noisedeck-sync group udev rule, so ordinary daemon operation needs no root access.
Sync creates no /dev alias or udev symbolic link.
Instead, it discovers and checks the kernel-owned /dev/videoN device each time it opens the camera.
syncctl doctor checks PipeWire and WirePlumber for interoperability, but neither sits in the camera frame path.
The daemon writes NV12 frames directly to V4L2.
Sync links no video provider at build time.
Instead, syncd discovers each video provider at runtime through its documented public entry point.
On macOS, syncd loads /usr/local/lib/libndi.dylib only when root owns the file and directory without group or world write permissions.
The library must also carry NewTek's signature (docs/dependencies/ndi.md).
If a provider runtime is absent, the daemon reports that provider as unavailable instead of failing to start.
An unavailable selected provider prints one diagnostic line to stderr, so available: false always has a cause.
The ready record on stdout keeps its exact shape.
CMake configure downloads these pinned dependencies, so it needs network access unless you supply local copies:
- RtAudio at
b4f04903312e0e0efffbe77655172e0f060dc085(CMakeLists.txt), for every build - RtMidi at
1e5b49925aa60065db52de44c366d446a902547bandnoisemaker-for-qtat0f410a3645637d48d57a1c6bdf90668191e0ee93(render/CMakeLists.txt), only with-DSYNC_BUILD_RENDER=ON
To configure offline, pass local checkouts of those revisions with -DFETCHCONTENT_SOURCE_DIR_RTAUDIO=<dir>, -DFETCHCONTENT_SOURCE_DIR_RTMIDI=<dir>, and -DFETCHCONTENT_SOURCE_DIR_NOISEMAKER_QT=<dir>.
Sync requires CMake 3.21 or newer, a C++20 compiler, OpenSSL 3, and libuv.
macOS builds also use the Foundation and Metal frameworks and locate libuv through pkg-config or a CMake config package.
Ubuntu 24.04 builds also use libasound2-dev and optionally libjack-jackd2-dev for native audio capture.
Windows builds require x64 MSVC for Media Foundation virtual camera headers and delay-loading.
Windows CMake builds locate libuv and OpenSSL through a config package such as vcpkg:
vcpkg install libuv:x64-windows openssl:x64-windows
cmake -S . -B build -A x64 `
-DCMAKE_TOOLCHAIN_FILE="$env:VCPKG_INSTALLATION_ROOT/scripts/buildsystems/vcpkg.cmake"
cmake --build build --config Release --parallel 4
ctest --test-dir build --build-config Release --output-on-failureThe sync_camera_e2e test requires Windows 11 and the media source registered under HKLM.
Run build\Release\syncd.exe --register-camera from an elevated prompt first, or exclude that test with ctest --test-dir build --build-config Release --label-exclude sync_camera_e2e --output-on-failure.
Every other Windows test, including the in-process media source suite, runs on any Windows 10 or 11 machine.
Run Windows tests from a standard Windows environment where %LOCALAPPDATA% resolves to a drive-absolute path, because the pairing store refuses non-Windows paths.
On macOS and Linux, build and run the native test suite with:
cmake -S . -B build
cmake --build build -j4
ctest --test-dir build --output-on-failureThe daemon binds only to IPv4 and IPv6 loopback.
Production mode listens on port 53979 unless you pass --port:
./build/syncd
./build/syncd --port 54000
./build/syncd --list-pairings
./build/syncd --revoke-origin https://visuals.exampleNaming no publisher selects every video provider that the platform implements.
Passing one or more --publisher flags restricts syncd to those video providers.
You can also pass explicit runtime paths for development builds, or --render-join flags to supervise sync-render:
./build/syncd --publisher spout --publisher ndi
./build/syncd --publisher ndi --ndi-runtime /opt/ndi/lib
./build/syncd --publisher spout --spout-library C:/Spout/SpoutLibrary.dll
./build/syncd --render-join <seance-session-or-link> --render-size 1920x1080See the provider table above for each runtime and license boundary.
The supported Linux package targets Ubuntu 24.04 x86_64.
Install it from the signed APT repository after you check the repository key fingerprint there.
Opening a downloaded .deb directly in Ubuntu App Center can show an untrusted software warning.
After you add the APT source from the repository guide, install and start the user service:
sudo apt update
sudo apt install noisedeck-sync
systemctl --user enable --now noisedeck-sync.service
syncctl statusSync runs as a user daemon on Linux and has no tray window.
If syncctl status reports that the control socket is absent right after service start, wait a moment and run it again.
Open Noisedeck's Sync dialog, then run syncctl pair in a terminal:
syncctl pairWithin 35 seconds, select Connect Sync or Connect Sync audio in Noisedeck.
Check the website origin in the terminal, type y, and press Enter within 30 seconds.
The terminal prints paired.
Run syncctl pair again for each new origin.
If a shown prompt times out, wait 30 seconds before you retry.
To enable the optional Sync Camera, run:
sudo syncctl camera setup --user "$USER"
# Log out and back in if setup added the noisedeck-sync group.
syncctl doctorIf another v4l2loopback configuration or loaded instance already exists, setup refuses to merge or renumber it.
Resolve that system configuration explicitly and run setup again.
To pin syncd to one already checked device, add a user unit drop-in with systemctl --user edit noisedeck-sync.service:
[Service]
ExecStart=
ExecStart=/usr/bin/syncd --camera-device /dev/video12To uninstall, stop the user service and purge the package. Purge removes camera setup files only when their full contents still match Sync's templates:
systemctl --user disable --now noisedeck-sync.service
sudo apt purge noisedeck-syncIf you added the signed APT source manually, remove it and its scoped key as well:
sudo rm -- /etc/apt/sources.list.d/noisedeck-sync.list /etc/apt/keyrings/noisedeck-sync.gpg
sudo apt updateThe Ubuntu guide also covers optional pairing-data removal and cleanup of camera rules from older packages.
Purge keeps locally changed camera configuration files and names them on stderr.
Purge does not unload a live kernel module or remove the noisedeck-sync group.
macOS packaging requires macOS 13 or newer on Apple Silicon, dylibbundler, librsvg, Node.js on PATH, and a locally built Syphon.framework.
For the render helper, install Qt 6.9 or newer with the Qt Multimedia, Qt WebSockets, and Qt Image Formats modules.
CI and the release workflow use Qt 6.11.1 and pin Syphon revision 71351d4b484cd2d1917867f7846a5cdca724552d.
The bundle declares macOS 13.0 as its minimum, and scripts/verify-macos-bundle.sh rejects any binary or library that targets a newer macOS.
Because Homebrew builds target the host OS, build libuv and OpenSSL 3 for macOS 13.0 into one prefix:
SYNC_DEPS=/absolute/path/to/sync-deps
cmake -S /path/to/libuv -B libuv-build -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX="$SYNC_DEPS" -DCMAKE_OSX_ARCHITECTURES=arm64 \
-DCMAKE_OSX_DEPLOYMENT_TARGET=13.0 -DLIBUV_BUILD_SHARED=ON \
-DLIBUV_BUILD_TESTS=OFF -DBUILD_TESTING=OFF
cmake --build libuv-build --target install
(cd /path/to/openssl &&
MACOSX_DEPLOYMENT_TARGET=13.0 ./Configure darwin64-arm64-cc shared no-tests \
--prefix="$SYNC_DEPS" --openssldir="$SYNC_DEPS/ssl" -mmacosx-version-min=13.0 &&
make && make install_sw)From this checkout, build, package, and check the app:
SYNC_PRODUCT_VERSION=X.Y.Z
cmake -S . -B build-package \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_OSX_ARCHITECTURES=arm64 \
-DCMAKE_OSX_DEPLOYMENT_TARGET=13.0 \
-DCMAKE_PREFIX_PATH="$SYNC_DEPS;/absolute/path/to/Qt/6.11.1/macos" \
-DOPENSSL_ROOT_DIR="$SYNC_DEPS" \
-DSYNC_DYLIB_SEARCH_PATH="$SYNC_DEPS/lib" \
-DSYNC_BUILD_RENDER=ON \
-DSYNC_PRODUCT_VERSION="$SYNC_PRODUCT_VERSION" \
-DSYNC_SYPHON_FRAMEWORK_PATH=/absolute/path/to/Syphon.framework
cmake --build build-package --target sync_macos_dmg -j4
SYNC_EXPECT_RENDER=1 SYNC_PACKAGE_DIR=build-package/package \
node --test test/packaging/macos-package.test.js
scripts/smoke-macos-app.sh "$PWD/build-package/package/Sync.app"The local target builds an unsigned app bundle and DMG. Developer ID signing, notarization, stapling, and public publication belong to the Noise Factor release workflow so signing credentials never enter this repository.
Windows packaging requires Windows 10 or newer, an x64 MSVC toolchain, and a locally built SpoutLibrary.dll.
Put Inno Setup 6 (ISCC), ImageMagick (magick), and Node.js on PATH.
For the render helper, install Qt 6.9 or newer for MSVC 2022 x64 with the Qt Multimedia, Qt WebSockets, and Qt Image Formats modules.
CI packages with Qt 6.10.3, and the release workflow pins Spout 2.007.017 (f49e2f469f8cb25f559a6eaa61a3f5b8173fc100).
$SyncProductVersion = "X.Y.Z"
cmake -S . -B build-package -A x64 `
-DCMAKE_TOOLCHAIN_FILE="$env:VCPKG_INSTALLATION_ROOT/scripts/buildsystems/vcpkg.cmake" `
-DCMAKE_PREFIX_PATH=C:\absolute\path\to\Qt\6.10.3\msvc2022_64 `
-DSYNC_BUILD_RENDER=ON `
-DSYNC_PRODUCT_VERSION="$SyncProductVersion" `
-DSYNC_SPOUT_LIBRARY_PATH=C:\absolute\path\to\SpoutLibrary.dll `
-DSYNC_WINDOWS_DEPENDENCY_PATH="$env:VCPKG_INSTALLATION_ROOT\installed\x64-windows\bin"
cmake --build build-package --config Release --target sync_windows_installer --parallel 4
$env:SYNC_EXPECT_RENDER = "1"
$env:SYNC_PACKAGE_DIR = "build-package/package"
node --test test/packaging/windows-package.test.js
./scripts/smoke-windows-app.ps1 -Bundle "$PWD/build-package/package/Sync"The local target builds an unsigned application directory and installer. Public preview publication belongs to the Noise Factor release workflow, and the published Windows preview installer is currently unsigned.
The browser SDK connects any web renderer to Sync.
It includes direct RGBA, Canvas 2D, WebGL2, and WebGPU export queues, NV12 and macOS H.264 Annex B stream senders, and native multichannel audio reads.
The dependency-free source modules live in browser/.
This checkout builds @noisefactor/sync 0.3.5.
Build a local tarball, browser modules directory, and SHA-256 checksums from the repository root:
npm run package:sdkThen install the built tarball in your application:
npm install /absolute/path/to/sync/dist/sdk/0.3.5/noisefactor-sync-0.3.5.tgzThe latest published GitHub release tarball is sdk-v0.3.0 from September 14, 2026.
That release predates the NV12 and macOS H.264 stream senders and later TypeScript, loopback-permission, and busy-worker fixes.
To install that published tarball directly:
npm install https://github.com/noisefactorllc/sync/releases/download/sdk-v0.3.0/noisefactor-sync-0.3.0.tgzAfter installation, import from @noisefactor/sync.
See the developer guide for direct browser imports, local builds, and the complete API.
Passive probe() never starts pairing and never triggers a browser permission prompt.
Call pair() from a deliberate user action.
connect() can also trigger the browser local-network prompt when called from a user action.
The host application owns storage for the returned token.
See the browser client guide for permission, H.264 stream, and lifecycle details.
Runnable browser and Electron examples cover Canvas 2D, WebGL2, and WebGPU.
Audio integrations must check for a selected and available audio provider with direction receive, because SDK and companion versions move independently.
See the developer audio example.
Linux users who need JACK through PipeWire must start Sync through pw-jack (explicit service setup).
import { SyncBridgeClient } from '@noisefactor/sync'
const pairingClient = new SyncBridgeClient()
const { token } = await pairingClient.pair('My visual app')
pairingClient.close()
const sync = new SyncBridgeClient({ token })
await sync.connect()Run the core test suites from the repository root:
npm run test:unit
npm run test:browser
npm run test:packaging
SYNC_DAEMON_PATH=build/syncd npm run test:integration
ctest --test-dir build --output-on-failureInstall the pinned TypeScript compiler with npm ci --ignore-scripts --no-bin-links before you run npm run test:packaging.
On macOS and Linux, scripts/test builds the native tests in a temporary directory and runs both ctest and npm run test:unit.
test:unit checks protocol and harness behavior without a native build.
test:integration runs loopback tests and then runs test:integration:soak in a separate process.
That short soak uses a 60 FPS ceiling and fixed memory readings.
A separate idle daemon checks real process inspection, including private memory on Windows.
Windows inspection uses a 60-second command budget inside a 75-second test and a 180-second runner budget.
A missing daemon fails test:integration instead of skipping it.
After a harness change, run test:integration:soak on the same build several times without retries.
Fairness under unlimited writes uses immediately completed writes and a queued stop, independent of native throughput or runner speed.
The standalone memory soak streams 1080p frames through a test-receiver daemon while cycling senders and probing health, and fails on footprint growth. Run it against a Release build because a Debug daemon runs too slowly to represent production behavior:
SYNC_DAEMON_PATH=build-release/syncd SYNC_SOAK_SECONDS=60 npm run test:soakThis standalone soak sends at unlimited speed by default.
Set SYNC_SOAK_FPS to a positive value for a paced workload.
Unknown origins cannot publish or capture silently. Pairing requires a browser request and a visible native approval prompt. Sync scopes each reusable token to one exact normalized origin and lets you revoke it at any time. Report suspected vulnerabilities privately through SECURITY.md.
Noise Factor releases Sync under the MIT License. See TRADEMARK.md for the branding boundary. Third-party runtime providers keep their own licenses, and this repository does not relicense them.
Copyright © 2026 Noise Factor LLC
