Skip to main content
October 29, 2012
Question

iOS/AIR - Audio capture works slow! help

  • October 29, 2012
  • 3 replies
  • 956 views

Hi,

My company develops AIR application that's doing a lot of realtime signal processing (see here http://Jamstar.co).

We use the Microphone class to capture audio.

We setup the mic sample rate to 8000Hz.

While using the code on and Android device or Web browser everything works great.

On iOS it works slow... the latency it x5 times slower than Android.

I'm using 3.4's background-audio feature on iOS, and still - poor poor performance.

It's super crusual to my business, what should we do ?

Thanks,

Kobi

This topic has been closed for replies.

3 replies

Nimisha1
Participating Frequently
October 30, 2012

Hi Kobi,

There is a latency on iOS when microphone's rate is 5 or 8 KHz and this issue is known to us  and we will update you if it gets fixed. I would suggest you a workaround to use microphone rate 11 to 44 KHz to overcome the latency on iOS.

Thanks,

Nimisha

November 2, 2012

Hi Nimisha,

Acctually the latency issue is not only for 5-8kHz but also on 11 and 22kHz.

I'm using background-audio property as well, and I also optimized other aspects of our application (graphics, network, mem footprint, etc..). still getting those poor results.

What should I do?

Thanks,

Kobi

chris.campbell
Legend
November 2, 2012

Hi Kobi,

While I don't have any advice for this particular bug, I wanted to note that our internal bug number is 2885176.  I'd recommend opening a public bug at bugbase.adobe.com so we can link the two together.  This way you'll be able to get updates on the change of status and any additional findings you have can be officially recorded.

Thanks,
Chris