Posts

Post not yet marked as solved
3 Replies
2.6k Views
Our app plays two audio streams at once: a Foreground (vocal) stream, and a background (music) stream. To handle playback we have 2 AVPlayer instances, one for foreground, and one for background.With AirPlay 1, this works great. You choose the new route, and both streams start playing back on the selected device(s).With AirPlay 2, however, this does not work properly. Either the foreground audio, or the background audio will begin playback, and behave in a way that makes it seem like they're competing with one another. They never overlay properly.Is there some way to make this work when streaming to AirPlay 2 devices (i.e. HomePod) without having to resort to completely rewriting our entire app using AVSampleBufferAudioRenderer?
Posted Last updated
.