[Freeswitch-users] Detecting Energy Levels on a Channel with mod_lua
mrene_lists at avgs.ca
Mon Mar 1 16:20:47 PST 2010
Media bugs allow you to get a channel's audio so you can use that yeah.
Avant-Garde Solutions Inc
Office: + 1 (514) 664-1044 x100
Cell: +1 (514) 664-1044 x200
mrene at avgs.ca
On 1-Mar-10, at 7:15 PM, Michael Collins wrote:
> On Mon, Mar 1, 2010 at 2:59 PM, Mathieu Rene <mrene_lists at avgs.ca>
> An easy way is to do an average of the absolute value of each L16
> sample over a period of time. Im not quite sure how to access audio
> channels from within Lua but if you are in C you can use
> switch_core_session_read_frame() to get audio frames.
> Show off! :) Related question: do media bugs allow you to access
> this kind of information? Just curious...
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the FreeSWITCH-users