Questions on Put_Frame/Get_Frame or on_rx_rtp/on_rx_rtcp

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

 



Hi,

I am working on a Media Proxy app which will do the RTP(Encode/Decode) plus RTCP message translation between two servers.

The questions i have are :-
1) I will have to create 2 streams (on top of 2 transports) talking to each of the two servers.
But i am confused about Get_Frame/Put_Frame callbacks and on_rx_rtp/on_rx_rtcp callback. which one i have to use?? What is the difference between the two and when to use each?

Similarly when we shall use pjmedia_port_get_frame() & pjmedia_port_put_frame() OR pjmedia_transport_send_rtp() & pjmedia_transport_send_rtcp()?

Can we use on_rx_rtp/on_rx_rtcp? with streams too?

2) As pjmedia_stream_create, calls the "pjmedia_transport_attach" and assigns its own on_rx_rtp/on_rx_rtcp callbacks?

Do i have to again call "pjmedia_transport_attach" in my application code and give my own
on_rx_rtp/on_rx_rtcp callbacks to receive rtp/rtcp?

Wud really appreciate help on the above. 

Regards,
Manjeet




      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20090128/af221419/attachment.html>


[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