I'm working on a Walkie Talkie app and have the basics working. You select a user, record a message which is then sent via push notification. They open the app which downloads and plays the message. I was pretty happy with it until I came across Zello.
They are doing 2 things of interest:
1) If you receive a message and the app is running in the background it will display a notification and begin playing the message without having to open the app.
2) The message is streamed to your phone and begins playback while the other user is still speaking.
Can anyone give me a clue as to how they're doing this? I've added the basics like setting the audio/voip background mode keys and initializing the audio session:
[[AVAudioSession sharedInstance] setCategory: AVAudioSessionCategoryPlayAndRecord error:nil];
[[AVAudioSession sharedInstance] setActive:YES error:nil];
But I'm unsure how to proceed beyond this.