Files
adaptive-music/evidence/SENDSPIN-PROVISIONING.md
Jason 1ed30567fb
Validate and generate manual release / package (push) Waiting to run
Release v0.7.0 - Automatic pairing and validated MA audio playback
2026-12-04 08:58:47 -05:00

2.3 KiB

Sendspin provisioning research — 2026-12-03

Evidence class: source inspection only. MA 2.10.6, commit c24866405bd2068c25a60e1014e5ef8c3f6445bb; new inspected file hashes recorded in upstream.json. No upstream code copied, dependency installed or provisioning run.

providers/sendspin/provider.py:656 defines create_virtual_player(owner_instance_id, display_name, player_id=None). This is an in-server Python provider API, not a registered external HTTP command. It requires a loaded provider owner, checks ownership/collisions, prefixes stable IDs, registers the client and queue, and persists the owner marker. Removal deletes configuration; unloading the owner removes its targets. Restart requires the owner to recreate the anchor. See the same directory's README, “Virtual Players”, and _register_virtual_player_client.

This anchor discards its own audio. Its documented delivery mechanism attaches member players through standard grouping. That mechanism does not meet Adaptive Music's no-grouping boundary and is not an adopted gateway audio source. Creating an anchor alone would not terminate audio at the gateway.

player.py:_refresh_client_info recognizes web/app clients from device information and makes them standalone/private. A future isolated gateway Sendspin client with an operator-assigned stable identity could be researched as a dedicated receiver, but needs protocol/Noise/codec and reconnect tests, licensing/dependency review, explicit target creation approval, and an operator update of the nonempty account player filter. An arbitrary new identity must never be automatically selected. No public automatic provisioning path suitable for the current external gateway was established. Existing Adaptive Music DEV remains the only authorized target.

Decision: retain the manually provisioned development target. Do not add an MA plugin, use grouping, create resources, or change production settings in this milestone.

Follow-up correction

The virtual-player conclusion above does not rule out browser receiver provisioning. Pinned MA 2.10.6 registers sendspin/pair_web_player with account-bound pairing. See the later investigation for the exact path, required handshake sequence and unverified implementation/acceptance gates.