[pjsip] Implementing custom mediaport for PJSUA2 (stdin/stdout)

bloodcarter bloodcarter at gmail.com
Fri Dec 16 04:08:12 EST 2016


Hi,

I want make an app that plays sound file from stdin to the SIP call stream.
And writes what the other party is saying to stdout.
As I understood from official API docs, I need to change media port to my
custom implementation in onStreamCreated().

But how do I implement it? There is only example for plain C (playsine.c)
and I failed to get it working with PJSUA2. Thanks in advance.

Vlad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20161216/68f96939/attachment.html>


More information about the pjsip mailing list