The buffer will contain audio in L16 format. -Steve On 9 February 2011 10:50, Steven Ayre <steveayre@gmail.com> wrote:
You want a media bug. It registers a callback to your module where FS will decode the data and pass it to your module. You can then process it, and even modify it if you wish.
API Documentation is on http://docs.freeswitch.org/ at Modules -> Core Library -> Media Bugs
-Steve
On 9 February 2011 10:45, Frankie Yiu <yky1628@yahoo.com> wrote:
Hi there,
I am new to FreeSwitch, and I have a question to ask.
If I want to read the RTP package (data from a person picking up a phone and speak or an answer machine) in C++ or C#, what function should I call to get it? Currently I can make a call to a phone and play an audio.
Thanks in advance.
Frankie
------------------------------ Food fight?<http://answers.yahoo.com/dir/index;_ylc=X3oDMTFvbGNhMGE3BF9TAzM5NjU0NTEwOARfcwMzOTY1NDUxMDMEc2VjA21haWxfdGFnbGluZQRzbGsDbWFpbF90YWcx?link=ask&sid=396545367>Enjoy some healthy debate in the Yahoo! Answers Food & Drink Q&A.<http://answers.yahoo.com/dir/index;_ylc=X3oDMTFvbGNhMGE3BF9TAzM5NjU0NTEwOARfcwMzOTY1NDUxMDMEc2VjA21haWxfdGFnbGluZQRzbGsDbWFpbF90YWcx?link=ask&sid=396545367>
_______________________________________________ FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org