My be you could try with the memory buffer based capture port http://www.pjsip.org/pjmedia/docs/html/group__PJMEDIA__MEM__CAPTURE.htm Regards, Sandeep On Wed, Dec 5, 2012 at 1:00 AM, Nick <socialentry at yahoo.com> wrote: > Hi > > I am trying to get a raw audio stream from PJSUA and pass it along to > pocketsphinx from the cmusphinx project. Pocketsphinx`s tutorial says it > take stuff from 16khz 16bit mono little-endian file. > > I was thinking about using stdin inside the built-in wav recorder to just > pass it on, but I was wondering if there was a better way to do it, as I'd > like to use stdin for something else ideally. > > If relevant I am using an asterisk server as a go-between between the > carrier and the phone. It allows for ulaw, G729 and G728 codecs. > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip at lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20121205/7d513612/attachment-0001.html>