Repository navigation
Description
Silo-Server/silo-server#4440 adds a direct UDP path between native clients and the API host. Its pull requests land in order: the readiness check (Silo-Server/silo-server#5047), the leased engine, and the enrollment, coordination and playback changes. The path is off until an administrator turns it on. The Android and Android TV apps do not use it yet.
What users should get: on Android and Android TV, a signed-in device away from home enrolls with the server, connects to the API host over UDP, and plays on that path when the server says it is live. This is for long or lossy links, where one TCP route through a reverse proxy recovers slowly from loss. In every other case the app keeps the plan it gets today. A user who wants the direct path to be the only remote route can choose Direct only in Settings. The server's description for that setting is: "Direct only still uses the local network connection when one is available."
What the server provides (the code and docs ship with the pull requests above; docs/direct-connections-api.md is the contract):
GET /api/v2/capabilities/direct-connectionssays whether the path is available to this login session.POST /api/v2/direct-connections/enrollmentenrolls the device with its engine's node key and returns a 10-minute signaling ticket. The device renews it at half its remaining time and withdraws on sign-out.startPlayback,replanPlaybackand the bandwidth probe takemedia_transport(regularordirect). The plan saysdirectonly when the path is live.- The new setting
playback.connection_path(automaticordirect_only), client-local, listed forandroidandandroid_tv, is sent asconnection_pathat enrollment. - The "Client Contract" section of
docs/direct-connections-api.mdhas nine numbered rules: feature detection, enrollment, the engine, media transport, Direct only, the bandwidth probe, path labels, trust (an HTTPS address the system trusts) and the421answer.
The open question for this repository is the engine. The contract gives the wire rules, and maps each to the Go API of the shunpike module (github.com/darthShadow/shunpike) for a first-party engine. A client with its own engine follows the wire rules. How an Android app gets an engine is for the app's maintainers to decide.
Server side: Silo-Server/silo-server#4440 and its pull requests, starting at Silo-Server/silo-server#5047.
AI disclosure: drafted with Claude Code (claude-sonnet-5-5). The server facts come from the pull request branches; the client repository was searched on its main branch for direct-path code, and the app was not run on a device.
Activity
darthShadow commentedon Nov 24, 2026
Silo-Server/silo-server#5273 is the second pull request of this feature: the server now runs the direct connection engine on one API replica at a time and serves HTTP/3 on its UDP socket. No client can connect yet, because the server registers no peers until the third pull request (enrollment and peer registration). Nothing to build in this client for #5273; this issue stays open for that third pull request.