ATEM OVER ETHERNET -> OBS
=========================
The ATEM Mini Pro ISO sends its program feed to OBS through the Ethernet cable, so the
USB-C port stays free for the recording stick and HDMI out stays on the multiview.
The ISO recording on the stick is not affected (all inputs + program).

ONE TIME (per laptop)
  1. Plug the ATEM into the laptop (direct cable, or both into the church router/switch).
  2. Double-click  Setup-ATEM-link.bat  and choose 1 (direct cable) or 2 (church network).
     Say yes to the admin question. It installs the receiver (it does NOT start with
     Windows) and writes atem-local-obs.xml with this laptop's IP.
  3. ATEM Software Control > Output > Streaming > load  atem-local-obs.xml
     Server: Laptop    Key: church    Quality: Streaming High
     (Changed network or IP? Run the setup again and reload the XML in the ATEM.)
  4. OBS > Tools > WebSocket Server Settings must be on (the launcher already uses it).

EVERY STREAM
  0. Double-click Start-ATEM-receiver.bat and leave that window open (close it after the
     stream and the receiver is gone again).
  1. Launcher: pick the stream type and press Start service (it creates/updates the
     "ATEM feed" Media Source in OBS and tells you if video is arriving).
  2. Press Stream on the ATEM. The feed shows up in OBS within a second or two.
  The launcher box "Set up the ATEM Ethernet feed" can be unticked, and the "Check feed"
  button tests it any time. Settings live in presets.js (block "atem").

NOTES
  - The ATEM feed is a new OBS source named "ATEM feed". On first Start it is added to the
    scene "Normal screen" (or the current scene if that does not exist). Move/hide it as you
    like. If you also keep the Blackmagic camera source visible, mute one of the two so the
    audio is not doubled.
  - The receiver is MediaMTX in %USERPROFILE%\Tools\mediamtx (not in this OneDrive folder).
  - Want it to start at every Windows login anyway? Run in PowerShell: .\setup-mediamtx.ps1 -AutoStart
  - Setup-ATEM-link.bat option 3 undoes the fixed 192.168.10.10 IP, option 4 removes it all.

IF IT DOES NOT WORK
  - ping 192.168.10.240   (ATEM default IP; check/change it with ATEM Setup over USB)
  - Launcher says "waiting": is the ATEM streaming? Is the XML loaded with key "church"?
  - Adapter not called "Ethernet"? In PowerShell: Get-NetAdapter, then
    .\setup-mediamtx.ps1 -SetStaticIp -Adapter "<name>"
  - ATEM refuses the XML: export the ATEM's own streaming settings and compare.
