OrigamiEngine icon indicating copy to clipboard operation
OrigamiEngine copied to clipboard

Doesn't work in background mode

Open gerchicov-bp opened this issue 8 years ago • 5 comments

It means that when screen is switched off the playback is paused

gerchicov-bp avatar Oct 13 '15 14:10 gerchicov-bp

speak Russian? i know how to fix this moment

diukar avatar Oct 13 '15 23:10 diukar

yes

gerchicov-bp avatar Oct 14 '15 07:10 gerchicov-bp

? the only solution I found is to use AVAudioSessionCategoryPlayAndRecord but it is strange and may cause bugs

gerchicov-bp avatar Oct 15 '15 10:10 gerchicov-bp

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

diukar avatar Oct 15 '15 21:10 diukar

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?

Kfeavel avatar Aug 04 '16 23:08 Kfeavel