app that accesses microphone

Community based support for the Digium Phone Application Programming Interface (API).

Moderators: jwitt, sruffell, malcolmd, Moderator

app that accesses microphone

Postby jtm13126 » Wed Mar 04, 2015 9:38 am

Is there a way to access the microphone on the phone for an app?

What I am looking to do is create a noise level meter for emergency situations. Ideally the app would access the microphone, analyze the noise level and report a peak value. The value would then be compared to a threshold value and report if the value exceeds the threshold.
jtm13126
Newsterisk
 
Posts: 2
Joined: Wed Mar 04, 2015 9:35 am

Re: app that accesses microphone

Postby malcolmd » Wed Mar 04, 2015 10:02 am

Howdy,

Only in the construct of a call that's up. You can't access the mic otherwise. So, fire up a call, then have the connected system perform the audio level analysis.

Cheers
Malcolm Davenport
Digium, Inc. | Senior Product Manager
malcolmd
Moves Like Spencer
 
Posts: 3019
Joined: Wed Aug 03, 2005 3:53 pm
Location: Huntsville, AL, US


Return to Digium Phone API

Who is online

Users browsing this forum: Yahoo [Bot] and 1 guest