← All problems

Mobile System Design

Music Player App

hardPremiumAsked at
AmazonSpotifyDatabricks

"Design a music and podcast player like Spotify."

Analyzing the Problem

Spotify is a music and podcast player: it streams tracks from a catalog via adaptive HLS or DASH, adapts bitrate to current bandwidth, plays in the background surviving activity destruction, exposes MediaSession controls to lockscreen, Bluetooth, Wear, and Android Auto, does gapless transitions between consecutive tracks, downloads tracks for offline with Widevine DRM expiry, respects audio focus around other apps' sound, and persists resume position across kill and reboot.

Premium content

The full breakdown is locked.

Premium unlocks every system design, every coding question, and every challenge - with unlimited code runs in the live editor.

Browse free problems