0

We're currently using Linphone library to make VOIP calls and they have their own solution for audio playback. However, we would like to display a visualizer for the audio that Linphone is outputting from within our own app. Is there a way that we can intercept this data (maybe through sample buffering) in order to draw up audio waves/volume meter in the user interface?

AVAudioPlayer or AVPlayer is out of the question since we do not have access to those objects. Is there a solution in place for AVAudioSession or in CoreAudio?

rmaddy
  • 307,833
  • 40
  • 508
  • 550

1 Answers1

3

Only if the audio output app is exporting the audio data using Inter-App-audio or Audiobus. Otherwise the iOS security sandbox will hide that audio output from your app.

hotpaw2
  • 69,203
  • 14
  • 86
  • 150
  • Can you give some specifics? https://stackoverflow.com/questions/49340947/avaudiosession-how-do-i-listen-to-the-devices-output – Michael Mar 18 '18 at 15:04