I have tried a couple of things, like when my app launches I tell AVFramework that I want to play ambient sounds..
Code: Select all
do
{
try AVAudioSession.sharedInstance().setCategory(AVAudioSession.Category.ambient)
try AVAudioSession.sharedInstance().setActive(true)
}
catch let error as NSError
{
print(error)
}
When I stop the VLC Stream the music begins to play again, does anyone know if this is possible?
Thanks in advance for any help!