Skip to main content
Participant
November 11, 2016
Question

Microphone events stops after short period (Android, AIR 22)

  • November 11, 2016
  • 1 reply
  • 223 views

Hi,

Just stuck with an issue - after starting the recording from a mic, the event SampleDataEvent.SAMPLE_DATA stops firing after ~40 times (may vary between 40 and 45 events before stop).

On a desktop all works perfect: the events with fresh mic. data shots forever til the listener is removed.

Also when starting a mic on android there is a "click" at the beginning of first chunk of received data.

This topic has been closed for replies.

1 reply

ShurikMurAuthor
Participant
November 12, 2016

Solved:

the problem was with not properly set: mic.setSilenceLevel(0, DELAY_LENGTH).

Mic. "no activity" never triggers on desktop, but do on android.