Open gerchicov-bp opened 9 years ago
speak Russian? i know how to fix this moment
yes
? the only solution I found is to use AVAudioSessionCategoryPlayAndRecord but it is strange and may cause bugs
i simply turned ON Background Modes in Capabilities, There is a switch, and then you have checkboxes for different things one of them is Audio
Even after setting the AVAudioSessionCategoryPlayAndRecord I still get an error when playing audio from an http source. It keeps hanging on data = [_fileHandle readDataOfLength:amount];
(line 138) in the HTTPSource.m file. Any suggestions?
It means that when screen is switched off the playback is paused