Question

Sorry if this question is obvious or duplicated. My 30 minutes of research led me nowhere.

We have an iPhone app that live streams video from the device to our remote Wowza servers. We're looking to integrate the Swivl (motion tracking tripod) into our product, and it uses a wireless microphone that feeds into the 30-pin port of our iPhone. Swivl's SDK doesn't include anything about capturing audio from their hardware so I assume that it would be handled by the iPhone itself.

If I use the AVAudioRecorer, will it automatically route the audio input from the 30-pin port instead of the default microphone, or do I have to explicitly define the audio source?

Any clues help.

Was it helpful?

Solution

After a few tests, it seems that iOS automatically routes incoming audio signals. There is no need to explicitly specify the source of the audio.

OTHER TIPS

Straight from AVAudioRecorder documentation:

In iOS, the audio being recorded comes from the device connected by the user—built-in microphone or headset microphone, for example. In OS X, the audio comes from the system’s default audio input device as set by a user in System Preferences.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top