-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thu, Apr 21, 2016 at 10:11 AM, Rick Jarvis wrote:
I’d like to monitor the audio levels on an audio interface that’s being used by mod_portaudio
I’m guessing, but I don’t know, that the best way of doing this would be to use Pulse Audio, either directly or indirectly.
I don’t know a huge deal about Pulse Audio though, and while it seems that there’s a mod_pulseaudio available, I can’t find much information on it, and there seem to be quite old unanswered questions about Pulse in relation to FreeSWITCH, on this list.
Can anyone give me any suggestions on which way I might head?
Pulseaudio would certainly help in getting an audio level monitor fast, there are already example code[1] and pavumeter available to do that quite fast. About the mod_pulseaudio module, I'd just like to say that we are using it quite extensively for a softphone on FreeSwitch 1.4.15~1-1~wheezy+1. I compiled the module externally and have it loaded on startup, when a new call is answered, a new PulseAudio channel is created. I also have PulseAudio bindings for Python available however, it isn't properly licensed yet for open source distribution, if you are interested, I might look into getting it on GitHub. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQHcBAEBAgAGBQJXLB1qAAoJEFoemNjsrCcXZcgN/0SAJdFGGFFP/eRquAJCf2L5 aqJzpK9BPazscDIlKDm4CgGCV7Kw7WWBDQmJxGRi2ua/oZ8SGUifimhFsoh06HEI gvlifDtdlwssxzKhNcCFRq9aZNh5I5RNhIUXMGf/m9daMK8okPvXCkly9l5ghXTu vKYxGaxeXT/PlPdn7BnBDQ+s/f+OUZPOcegwGF/pEVVGIQeXfEHSjUxB3P+Pu8to Tz3kkVYZTmcDYS0gnjJKuSdTyXdnOiImdPuKx88CK6HfzRTsRg04s83ZHAbdhqM5 MhBxneUtocg2+1Gyk7u5fo1zossRNT22fDcCYJ2HpdBN77c7R9SYUsNGO/Yo+jHv tiosh4w7wpZqrGE7x7Aq0acmkloYlsoFxRfzvetpCKVy+duzh6A6ytrBWGUEd1R1 864Zxt2Q06k/viSxdZ7D8myCMpCWYkdGZ+n6xDZZPsHEs7fj1lBFTSkAG3NnJq9V ncRoyxAqZdvmoFJ1zBYhyrLGLq2yXL3ZDmvRBNNbpaD5117X8I5SvfH/93x/bYdG nagMYD8EkPBqEwVD+403NC49/fJEraECgjGtxsVaZDy5XFe/xvit/ATFB060AKI= =LXdB -----END PGP SIGNATURE-----