2008/7/23 camel1996 <camel1996 at 126.com>: > Hi: > I am thinking about adding spectrum feature to my softphone. Before I use > FFT(*Fast Fourier Transform*), I must catch each audio frame before they > are input to microphone or output to speaker. > Are there any callback APIs or some other APIs in PJMedia I can use to > get those input or output audio frames? > > One of the basic concept of pjmedia is about pjmedia_port, which allows "ports" to be cascaded together to achieve certain goals. And these ports have callbacks manipulate audio frames. Please read more in pjmedia documentation. Cheers Benny -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20080723/47fcbe39/attachment.html