David HsiaoCase study / 03
Supporting work / native media
In active development · Not yet available on the App Store

AfterPlay: Durable Native Media Engineering

An engineering case study for a native media product focused on durable uploads, playback, and background work.

AFTERPLAYmedia /
durability
swiftui · avfoundation · cloudflare
AfterPlay / native media systems
RoleProduct engineering
ClientSwiftUI · AVFoundation
BackgroundURLSession durability
CloudCloudflare D1 + R2
01

Durability is part of the interface.

AfterPlay is shaped around the idea that a product should explain what is queued, what is uploading, what needs attention, and what can safely continue in the background.

02

SwiftUI around AVFoundation.

SwiftUI provides the product surface while AVFoundation anchors the media pipeline, keeping platform-specific media behavior close to the work that needs it.

03

URLSession for the handoff.

Background URLSession gives work a chance to continue when the app is not in the foreground, and lets the product reconcile that work when the user returns.

04

D1 for truth, R2 for media.

Cloudflare D1 and R2 separate structured state from large media objects, giving the engineering model a clear place for metadata, durable status, and object storage.