Skip to main content
Inspiring
Jun 26, 2012 8:41 AM UTC
Answered

air sdk 3.3: Android background audio no more?

I got some Android apps that plays rtmp streams, and they were working fine on background using Air 2.6-2.7 for about a year until now.

So today, I made upgrades using Air 3.3, and the backrgound playback is not working anymore, as soon as the screen shuts off, the audio shuts down in about 1 second.

I am using Windows Flash CS6. Anything changed in that department? I tried googling it, but nothing useful came up.

This topic is closed to new replies. Start a new post to keep the conversation going.
NoopurBCorrect answer
Adobe Employee
Aug 21, 2012 7:51 PM UTC

Hello,

We have been working on the fix but were unable to include it in the 3.4 release that happened earlier today. This fix is slated to be included in our next scheduled release for Q4.

Thanks!

41 replies

Adobe Employee
Aug 2, 2012 10:54 PM UTC

Hi,

I am the product manager for AIR at Adobe. We are currently investigating the audio playback bug and will provide a update on fix schedule shortly.

Thanks!

Translate
Known Participant
Aug 21, 2012 9:09 AM UTC

any news on that issue?

Translate
NoopurBCorrect answer
Adobe Employee
Aug 21, 2012 7:51 PM UTC

Hello,

We have been working on the fix but were unable to include it in the 3.4 release that happened earlier today. This fix is slated to be included in our next scheduled release for Q4.

Thanks!

Translate
Inspiring
Aug 1, 2012 6:23 PM UTC

check this out: https://play.google.com/store/apps/details?id=air.com.radioloyalty.radioloyalty&feature=search_result#?t=W251bGwsMSwxLDEsImFpci5jb20ucmFkaW9sb3lhbHR5LnJhZGlvbG95YWx0eSJd

seams like it's stremaed audio. i don't know how they have managed to keep the audio playing in the background.

Translate
Known Participant
Aug 1, 2012 8:16 PM UTC

Older version of AIR?

Translate
Known Participant
Jul 6, 2012 7:26 PM UTC

Just pushing this up hoping for an answer. Even just a "we're aware of the problem and are working on it" is better than silence.

Translate
chotgor1Author
Inspiring
Jul 13, 2012 8:57 PM UTC

are we the only 2 people experiencing this issue with android air development?

is there any new settings for the android air (sdk3.3) app's background mode audio/network?

Translate
Inspiring
Jul 16, 2012 4:22 PM UTC

no - not only 2 people...

It seems to be a bug!

Translate
Known Participant
Jul 3, 2012 2:30 PM UTC

This is madening. It works fine on 2.7 as discussed, but as far as I can tell, ANEs are NOT supported in 2.7, rendering that option useless to me. Adobe?

Translate
Known Participant
Jun 27, 2012 11:34 PM UTC

Same issue here, glad I found this thread. Also using CS6 on windows, also using rtmp (rtmpe actually). If I leave the app and go do other things, audio continues to play, but after about 10 seconds or so, it stops until the app has focus again. Is there a new permission or setting we must set/change?

Translate
chotgor1Author
Inspiring
Jun 28, 2012 7:32 AM UTC

thanks for reply, and now I am glad to know that I was not doing something wrong to cause this.

you are exactly right, sometimes the audio continues a little while, but eventually stops after some time, and continues to play only after the app gets focus back again. 

and I test my old app with Air 2.7 and the old app never stops and loses the audio playing at any time..

Translate
Known Participant
Jun 28, 2012 1:39 PM UTC

I don't have AIR 2.7 anymore to drop back down to, but even if I did, I'd lose some of the nice things about 3.2+ -- come on Adobe!

Translate