User guide

Working with Inter-App Audio
In its most basic form, inter-app audio allows one app, called the node app, to send its audio output to another
app, called the host app. However, it is also possible for the host app to send its output to the node app, have
the node app process the audio, and send the result back to the host app. The host app needs to have an
active audio session; however, the node app only needs an active audio session if it is receiving input from the
host app or the system. Use the following guidelines when setting up inter-app audio:
Set the “inter-app-audio” entitlement for both the host and node app.
Set the UIBackgroundModes audio flag for the host app.
Set the UIBackgroundModes audio flag for node apps that use audio input or output routes while
simultaneously connected to an inter-app audio host.
Set the AVAudioSessionCategoryOptionMixWithOthers for both the host and node app.
Make sure the node app’s audio session is active if it receives audio input from the system (or sends audio
output) while simultaneously connected to an inter-app host.
Defining an Audio Session
Working with Inter-App Audio
2014-09-17 | Copyright © 2014 Apple Inc. All Rights Reserved.
17