Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 7    Views: 71

Dragon007
Lost but trying
Profile
Posts: 1509
Reg: Dec 17, 2011
London
20,590
06/20/13 10:50 AM (12 years ago)

Still Having Issues With Stream Audio Plugin

Not sure if anyone is experiencing this problem, but when users are listening to the audio track and then receive a phone call or the alarm on the phone goes off, if users answer the phone or turn off the alarm on the device the audio track doesn't resume playing once call ends but instead the audio starts from the beginning again. I also have this issue, so i know what issues my users are experiencing and don't now how to fix. I have noticed that the custom URL plugin when I use this to stream music that this issue doesn't exist and everything is fine, if I receive a call and answer the music will resume once call needs. Does anyone know how I can fix this issue, really starting to bug me as I'm getting negative reviews only related to this matter. Any help is welcome as I would like to fix this issue and update the app.
 
PSMDanny
Apple Fan
Profile
Posts: 1166
Reg: Dec 09, 2011
Heerlen
21,940
like
06/20/13 11:08 AM (12 years ago)
Hi Dragon, I just tested again on my phone. Play a song - phone rings - I answer the call - quit the call - and the music plays from where it left. Have you tried with a clean (no code changes) project? Is the behavior the same? Best regards, Danny
 
Dragon007
Lost but trying
Profile
Posts: 1509
Reg: Dec 17, 2011
London
20,590
like
06/20/13 11:19 AM (12 years ago)
No, I haven't will try. What code do you use for the background audio, so the audio continues to play when phone is in sleep mode? I have noticed that there are two different types of code that I have seen that can be used.
 
Kittsy
buzztouch Evangelist
Profile
Posts: 2251
Reg: Feb 22, 2012
Liverpool
31,360
like
06/20/13 11:20 AM (12 years ago)
I've just tested it as well, and it resumes at where it left off. Sorry to be a bearer of bad news
 
Dragon007
Lost but trying
Profile
Posts: 1509
Reg: Dec 17, 2011
London
20,590
like
06/20/13 11:21 AM (12 years ago)
Puzzled!
 
PSMDanny
Apple Fan
Profile
Posts: 1166
Reg: Dec 09, 2011
Heerlen
21,940
like
06/20/13 12:17 PM (12 years ago)
Hi Dragon, I just remembered a conversation with a customer and it might help (don't know why). I use UIBackgroundModes and value "App plays" audio and this seems to work. The customer had to use the value "audio" (ofcourse without the double quotes) to make it work. Give it a lucky shot if you're still having problems. Best Regards, Danny
 
Dragon007
Lost but trying
Profile
Posts: 1509
Reg: Dec 17, 2011
London
20,590
like
06/20/13 02:24 PM (12 years ago)
Thanks
 
Dragon007
Lost but trying
Profile
Posts: 1509
Reg: Dec 17, 2011
London
20,590
like
06/21/13 05:04 AM (12 years ago)
Still having the same issues. I have tried testing the plugin, by creating a new project and downloading source and the problem continues. Every time I get a phone call and I end my call the audio player starts from the beginning and doesn't continue. This is becoming really frustrating, cannot seem to get past this issue.
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.