Case study · Delivery technology
EyeCandi — runs on our AI
EyeCandi is the delivery layer: the technology that puts media in front of a viewer, in the viewer's language, under the viewer's entitlements, on whatever screen they hold. This page covers the delivery network — ingest, encoding, encryption, the seed-and-peer topology, and the session rules — the machinery, not the catalog.
How EyeCandi draws on the core
EyeCandi's catalog, entitlements, and language data resolve against the core — the same database discipline and the same account separation as every other platform. Its localized artwork variants are produced by the core's fleet pipeline and stored as assets. What EyeCandi adds of its own is transport and protection: the packaging, encryption, and delivery machinery described below, built to the core's standard that a system should verify everything it touches.
Delivery stack
The application is a single-page program served from object storage behind a content delivery network, so the interface itself is delivered from the edge, close to the viewer. Catalog and entitlement data come from serverless APIs in the platform's own cloud account. There is no application server to scale or to lose: the front end is static, the back end is functions, and the state lives in managed stores.
Ingest: verified whole, or not at all
Media arrives as a publish package: the encoded versions, a chunk manifest carrying a SHA-256 hash for every chunk, the metadata — and a key reference, never the key itself. Ingest verifies every chunk's size and hash against the manifest before anything is registered. One mismatch and the package is rejected whole: no partial items, no quiet fixes, no exceptions. Ingest is also idempotent — the same package submitted twice changes nothing, and a new version arrives as a new version, never as an edit in place. Those two rules together are the platform's conflict policy at the door: duplicates are harmless, corruption is refused, and history is never rewritten.
Encoding and encryption
Each item is encoded as a ladder — a modern codec primary with a compatibility fallback, at 1080p, 720p, 480p, and 360p, with bitrates chosen per item from the item's own complexity rather than from a fixed table. The ladder is cut into segments of about six seconds, and every segment is encrypted under the item's one content key before it leaves the pipeline. The ciphertext is identical for every viewer — and that single fact is what makes the peer-to-peer layer possible: a segment any machine holds is a segment any entitled machine can use.
The topology: a light center, a heavy edge
The network separates coordination from carriage. The center is light: the catalog and accounts service, through which no video byte ever flows; the tracker, which introduces entitled viewers to each other — one swarm per item version — and likewise carries no video at all; and the key service, the trust center of the network, which holds every content key and releases them only to live, entitled sessions, segment by segment, with a five-minute key life. The edge is heavy: one always-on seed server, synced from object storage, holds a complete copy of everything and guarantees an item plays from its very first viewer; and the peers — the viewers' own machines — carry the streams between them, sharing only the minutes around their own playhead, inside caps they set themselves. A peer holds ciphertext and no key: storing is not playing.

When things conflict
The failure and abuse rules are as engineered as the happy path. If the tracker stops, playback falls back to the seed — coordination can fail without playback failing. If no peer holds the minutes a viewer needs, the seed serves them. Every playback session starts bound to its account and is written to an audit log. A kill switch at the item level stops key release, and playback ends at the next segment — instantly, whatever peers still hold. A ban blocks both gates at once: key release and swarm join refuse the account from that moment. And if a content key is ever suspected, it rotates: the item is republished under a new key. Routine keys never rotate; only suspicion does.
One language system
A single global language setting drives everything the viewer sees — interface text and artwork together, never one without the other. The platform carries 30 language packs; each string and each artwork variant resolves per language, with a per-string fallback to English wherever a translation is not yet in place, so a missing string degrades to readable text instead of a gap. Posters render in all 30 languages from the same system, rolled out language by language.
Encrypted offline downloads
Downloads for offline viewing stay encrypted under the item's one key and open only inside the player, offline, with no plaintext file ever existing on the device. What a viewer may open is decided by keys and entitlements: the entitlement records say who holds what, the key service releases keys only to entitled sessions, and a download that travels anywhere else is an encrypted package without its key. Entitlements are data on the server side, so access can be granted, changed, or withdrawn without touching the media files themselves.
The placement engine
Product placement is handled as data. A placement is a record bound to a timecode in a media item's manifest; the player renders placements from those records as playback reaches them. Because placements live in the manifest rather than in the media file, they can be added, changed, or removed without re-encoding or replacing the media — the file a viewer downloads never changes, only the placement data that accompanies it.
Player rules, in code
The player's behavior is specified and enforced by the software: controls live under the picture and never auto-hide; subtitles are off by default, are switched by the viewer, and render in a band below the picture rather than over it. Episode navigation replaces the current item on one screen instead of stacking pages. These are not guidelines for whoever builds a page — they are the player's own rules, the same on every device.
The stack
- Front end
- Single-page application on object storage, CDN-delivered
- Back end
- Serverless APIs; catalog and entitlements in managed stores; own cloud account
- Ingest
- Chunk manifest with SHA-256 per chunk; one mismatch rejects the whole package; idempotent — versions, never edits in place
- Encoding
- Per-item ladder, 1080p–360p, modern codec with compatibility fallback; segments of about six seconds
- Encryption
- Every segment encrypted under the item's one content key; ciphertext identical for every viewer
- Topology
- Light center — catalog, tracker, key service; heavy edge — one always-on seed plus the peer swarm
- Keys
- Released per segment to live, entitled sessions only; five-minute key life; rotation on suspicion
- Languages
- 30 packs, one global setting for text and artwork, per-string English fallback
- Downloads
- Encrypted for offline in-app playback; no plaintext file; access by keys and entitlements
- Placement
- Timecode-bound placement records in the manifest; media files never re-encoded
- Player
- Fixed controls under the picture; subtitles off by default, in a band below the picture
