Implementing custom mediaport for PJSUA2 (stdin/stdout)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux