PatchCam Link for TouchDesigner (macOS + Windows)
=================================================

One file:
  PatchCamLink.tox          component — the phone's controls as custom
                              parameters, plus the live picture on its output.
                              The receiver (a C++ TOP) travels inside it.

Install
  1. Drag PatchCamLink.tox into your network. On load the component
     writes the receiver for your platform into a  Plugins  folder next
     to your .toe (PatchCamStreamTOP.plugin on macOS, PatchCamStreamTOP.dll
     on Windows) and points its "Stream plugin" parameter at it. An
     unsaved project uses a temporary folder until you save; a Save As
     writes a copy next to the new .toe. Nothing goes into TouchDesigner's
     own folders.
  2. On the phone: PatchCam › Tune › GLOBAL › PatchCam Link (Pro) — one
     switch for the controls and the picture. Phone and computer on
     ONE network; keep the app in the foreground.
  3. The Device menu fills by itself and the first phone connects; one
     parameter page per effect appears. "Stream video" shows the picture
     on the component's output. Non-Commercial key: set "Stream max size"
     to 1280.
  4. After the first project load TouchDesigner also lists the receiver
     under OP Create › Custom as "PatchCam Stream" (its one-time
     "New Plugin Detected … Allow?" prompt is its own trust list — Allow).

macOS: the receiver is signed with a Developer ID and notarised.
Windows: the receiver is not code-signed yet; allow it if your antivirus
asks. Keeping your own copy of the receiver? Set "Stream plugin" to it
and the component leaves it alone.

Requires PatchCam build 12 or later on the phone and TouchDesigner 2023+.
The component listens on UDP 9002 and tells the phone so; Resolume's
PatchCam plugin uses 9001, so both can run on one computer.
Licences: LICENSES.txt. Support: support@patchcam.app
