Haven't worked with the Python Bindings :( . So wont be able to give an accurate answer to that question as of now. However,I guess currently that's not possible using just the python bindings. On Wed, Dec 5, 2012 at 5:53 PM, Nick <socialentry at yahoo.com> wrote: > Hello Sandeep, > > is there an equivalent to do it in the python API? > > Thanks for the help > > On 04/12/2012 10:56 PM, pjsip-request at lists.pjsip.org wrote: > >> Send pjsip mailing list submissions to >> pjsip at lists.pjsip.org >> >> To subscribe or unsubscribe via the World Wide Web, visit >> http://lists.pjsip.org/**mailman/listinfo/pjsip_lists.**pjsip.org<http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org> >> or, via email, send a message with subject or body 'help' to >> pjsip-request at lists.pjsip.org >> >> You can reach the person managing the list at >> pjsip-owner at lists.pjsip.org >> >> When replying, please edit your Subject line so it is more specific >> than "Re: Contents of pjsip digest..." >> >> >> Today's Topics: >> >> 1. Re: Need to get a raw audio stream from PJSUA (Sandeep Karanth) >> >> >> ------------------------------**------------------------------** >> ---------- >> >> Message: 1 >> Date: Wed, 5 Dec 2012 09:26:12 +0530 >> From: Sandeep Karanth <sandeepk.kdp@xxxxxxxxx> >> To: pjsip list <pjsip at lists.pjsip.org> >> Subject: Re: Need to get a raw audio stream from PJSUA >> Message-ID: >> <**CAMaz3tx0YjNspw7dsYXZtdPG5qD1x**68=n1iq2YHvV=N2zJuyxw at mail.** >> gmail.com <N2zJuyxw at mail.gmail.com>> >> Content-Type: text/plain; charset="iso-8859-1" >> >> My be you could try with the memory buffer based capture port >> http://www.pjsip.org/pjmedia/**docs/html/group__PJMEDIA__MEM_** >> _CAPTURE.htm<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<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.html<http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20121205/7d513612/attachment.html> >> > >> >> ------------------------------ >> >> Subject: Digest Footer >> >> ______________________________**_________________ >> pjsip mailing list >> pjsip at lists.pjsip.org >> http://lists.pjsip.org/**mailman/listinfo/pjsip_lists.**pjsip.org<http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org> >> >> >> ------------------------------ >> >> End of pjsip Digest, Vol 64, Issue 6 >> ************************************** >> >> > > ______________________________**_________________ > 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<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/408b581d/attachment-0001.html>