Bluetooth mic Action Script - actionscript-3

Hi I am trying to make an application using actionscript. I am trying to detect headset microphone using Microphone.getMicrophone(); but I am only getting the mic of the device and not the mic of the Bluetooth headset.
Is there a way to use Bluetooth headset's mic as audio input in Action Script?

Related

Windows phone How can I detect an incoming call

I have a app that runs a AudioPlaybackAgent and I want that everytime the phone receive a call, the audio get paused, but i didn't found anything about that.
If you are using Background Audio Manager, Phone will automatically Pause the playback and once call is disconnected it will automatically start playing.

Audio Capture in windows phone 8 with external microphone

I can capture some audio in wp8.1 platform but the sample rate is very low: 16KHz.
I'm trying now to connect an external microphone via the 3.5mm jacket but it not responding so much.... Is there an way at all to change the sample rate ?
Update: so I checked it and there is no way to do that. The SampleRate is fixed by the phone.

Is that possible to access the cam and mic of remote user in video chat using actionscript3.?

I am working on actionscript3.
Here i am using the av-chat module for video chat.i add up the recording functionality in it.Now i also want to record the remote user video in it.
Is that possibility in Action script to Access the cam and mic of remote user.??
Thanks in advance.
When you use Camera.get() or Microphone.get() methods, Flash Player displays a Privacy dialog box, in which the user can allow or deny access to their camera and microphone. I hope it will work.

ActionScript 3.0: Wait for response from Flash Player Settings window

I recently received some code from another developer and there's one piece I would like to rework. It's a flash app that works with mic and webcam. When it is started you are prompted to press a button - after that the usual flash player settings windows appears asking you to allow access to mic and cam. The application needs to wait for user's response on this question. It was achieved in the code I received in a rather awkward fashion. Application progressed on mouse movement event, which would not be registered since the flash player settings popup block the area. Once it out of the way - any mouse move would make application to go on. I need to rework with in some better way, because this piece of code is also used in AIR application that doesn't ask for allowance and, therefore, if you click the opening button you would need to move your mouse in order to get things running. I believe there must be some decent way to notify the app that settings popup is gone. Could anyone advice on this?
The correct way to do this in Flash Player is to listen for StatusEvent.STATUS event which is dispatched after the user either allows or denies you access to their mic. See the documentation for Microphone.getMicrophone().
In AIR, however, you don't have to ask for user's permission to access their mic and camera, so this event is not dispatched when your application gets access to the input device. In that case, you can check through Capabilities.playerType property if your code is running in AIR and then proceed with doing what you would have done in response to receiving permission to access user's input devices.

AS3 Flash Player on Chrome remembers hardware settings even when hardware is not present

I am making a voice chat application and am accessing the microphone through the Flash Player. I check for the microphone via the Microphone.getMicrophone() function.
If the microphone is not connected the above function call output is null and thereby I tell the user, through a dialog box with an OK and SKIP button, that there is no microphone attached. If the user clicks on the OK button, I check for the microphone again else skip this step.
On Chrome, the flash player initially detects that no microphone is attached. I attach a microphone and it work fine. Now I refresh the page and remove the microphone again. Again the Flash Player checks for the microphone and the output of the above function is not null. I close Chrome and follow the above steps, it works fine again.
Does Chrome internally store the detected hardware settings anywhere? If yes, how can I clear it using AS3?
On Firefox and Internet Explorer, it works perfectly.