Highlighted

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

New Here ,
Nov 10, 2016

Copy link to clipboard

Copied

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.

TOPICS
Development

Views

152

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

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

New Here ,
Nov 10, 2016

Copy link to clipboard

Copied

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.

TOPICS
Development

Views

153

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Nov 10, 2016 0
New Here ,
Nov 12, 2016

Copy link to clipboard

Copied

Solved:

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

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

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Nov 12, 2016 0