Add a component necessary for users of the application to be able to manually select audio inputs (Bluetooth, built-in speakers or headphones) during a video conference using iOS devices. Note, that we already have an application built and UI designed, and just need this additional functionality added.
Create the iOS part of the Adobe AIR native extension (ANE) that controls audio routing. The ANE can switch the audio between built-in speakers, a wired headset, a bluetooth headset. In addition, it provides the information about whether a wired and/or bluetooth headset is connected. The ANE has the following main functions:
1. setOutput( output ) - sets the audio routing to a certain audio device (speakers, wired headset, bluetooth headset);
2. isOutputAvailable( output ) - checks whether the particular audio device is currently available (e.g. a wired headset is connected).
The ANE also dispatches an event when some audio device gets connected or disconnected. p.s. In case the above functionality cannot be accomplished in iOS due to platform limitations, the ANE has to be able to invoke the system menu allowing the user to manually select the audio device for the current application.