Highlighted

AIR does not read external microphone when recording

Explorer ,
May 02, 2017

Copy link to clipboard

Copied

On iOS devices running iOS 10.x, AIR does not always detect external microphones connected via Lightning connector. AIR will always use the Lightning microphone when connected to Flash Media Server using a NetStream and broadcasting over RTMP. However, AIR will not detect or use the Lightning microphone when recording audio locally, unless the microphone is plugged in after the user starts recording.

In other words, if you plug in a Lightning microphone and then run

microphone.addEventListener(SampleDataEvent.SAMPLE_DATA, microphone_sampleDataEventHandler);

AIR will not use the Lightning microphone. However, if you run

microphone.addEventListener(SampleDataEvent.SAMPLE_DATA, microphone_sampleDataEventHandler);

and then plug in the microphone while the app is already recording, AIR will use the microphone.

This bug is preventing us from releasing the next version of our app. Are there any better workarounds that don't require the user to wait until after they've started recording to plug in the mic?

Tested using AIR 23 and 24.

See Tracker

TOPICS
Performance issues

Views

166

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

AIR does not read external microphone when recording

Explorer ,
May 02, 2017

Copy link to clipboard

Copied

On iOS devices running iOS 10.x, AIR does not always detect external microphones connected via Lightning connector. AIR will always use the Lightning microphone when connected to Flash Media Server using a NetStream and broadcasting over RTMP. However, AIR will not detect or use the Lightning microphone when recording audio locally, unless the microphone is plugged in after the user starts recording.

In other words, if you plug in a Lightning microphone and then run

microphone.addEventListener(SampleDataEvent.SAMPLE_DATA, microphone_sampleDataEventHandler);

AIR will not use the Lightning microphone. However, if you run

microphone.addEventListener(SampleDataEvent.SAMPLE_DATA, microphone_sampleDataEventHandler);

and then plug in the microphone while the app is already recording, AIR will use the microphone.

This bug is preventing us from releasing the next version of our app. Are there any better workarounds that don't require the user to wait until after they've started recording to plug in the mic?

Tested using AIR 23 and 24.

See Tracker

TOPICS
Performance issues

Views

167

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
May 02, 2017 0

Have something to add?

Join the conversation