Hi,
I’m currently using AVAudioPlayer to play a sound before I begin my OpenEars session, as I’m listening to a audio button press (i.e. headphone buttons) to activate startListening(). I’d like my own sound to continue after startListening() has begun, so that I can receive when the second button press has happened so that I know to stop the listening session.
Currently, as OE starts, the AudioSession seems to default to the system session and if I press the play button on my headphones, music begins from the iOS Music App. Restarting the player, or restarting the session doesn’t seem to fix this issue.
Would you have any idea why this might be? And potentially any suggestions on how to over come this issue?