JC.
JC.

Reputation: 11801

Intercept background audio stream on iOS

Is it possible for an iOS app to intercept the background audio stream that's playing?

I'd like to do some visualization for whatever audio is currently playing whether it's iTunes, Spotify, etc.

Upvotes: 7

Views: 478

Answers (2)

spencer741
spencer741

Reputation: 1185

Apparently this is possible now, only if another app subscribes to InterApp Audio or Audiobus.

Consolidated from other SO answers for clarity:

Is there a way to intercept audio output from within your app to display back an audio visualizer on iOS?

Intercept/modify audio stream on iOS

Upvotes: 0

Almo
Almo

Reputation: 15861

You can't get access to this, actually.

It's possible to play music with an app that remains in the background when the app isn't active, but you can't get access to another app's audio stream.

Upvotes: 3

Related Questions