Audio & Video / 12:36

Meet the Now Playing framework

Audio & Videoiosipadosmacostvosvisionos

Key Points

  • Introduces Now Playing - a Swift framework that connects app media playback to system surfaces like the Lock Screen, Control Center, Dynamic Island, and CarPlay.
  • Shows how to publish playback state and respond to commands using its observable API.
  • Covers remote playback sessions, a new capability that lets an app represent media playing on external devices and bring full playback controls to those same system.
  • The session moves through Media sessions, Remote media sessions, Media sharing extensions.
  • Key concepts include Now Playing, Dynamic Island, CarPlay, APNs, NowPlaying, MovieContent, PlayerModel, RemoteMediaSessionExtension.
  • Platform coverage: ios, ipados, macos, tvos, visionos.

Condensed Flow

01

Media sessions:

Focuses on NowPlaying, MovieContent.

More Detail

Additional details

  • Detailed flow: Media sessions -> Remote media sessions -> Media sharing extensions.
  • APIs and concepts to recognize: Now Playing, Dynamic Island, CarPlay, APNs, NowPlaying, MovieContent, PlayerModel, RemoteMediaSessionExtension, RemoteMediaSessionExtensionConfiguration, PlaybackSnapshot, MediaSessionRepresentable, RemotePlayerState.
  • Version and support notes focus on MediaSessionRepresentable.
  • Implementation focus: PlayerModel, RemoteMediaSessionExtension, NowPlaying, RemoteMediaSessionExtensionConfiguration, APNs, RemotePlayerState, ServerClient.

Resources