I try to make VLC to continue playing when my application is in the background but it doesn't work.
I already use AVPlayer and it works fine, but not with VLC.
My info.plist is already configured with the "UIBackgroundModes" value containing "audio", and my code is also using AVAudioSessions :
Code: Select all
[[AVAudioSession sharedInstance] setCategory:AVAudioSessionCategoryPlayAndRecord error:nil];
[[AVAudioSession sharedInstance] setActive:YES error:nil];
edit = the view controller from the vlc application actually works as intended. However, my own code doesn't play in the background when I try to implement VLC manually in my own view controller, same for the sample projects (dropin-player etc.)
Do you have any idea of something I miss?
I am using the latest git version of MobileVlcKit, on the iPhone simulator.
Thanks!