Spotify

Spotify Live: From Live to Recording

Apr 1, 2022Robert Segura, Senior Engineer
Spotify Live: From Live to Recording
SummaryAI, from the source post

This post details the technical implementation of the Spotify Live recording feature. It describes the flow from room creation event triggering a recording service, to initiating cloud recording API calls, storing raw audio in .ts files, and using FFmpeg to stitch and encode the final .mp4 recording. It also highlights error handling for recording interruptions and the process of delivering the final recording to the host via email.