what's the requirement for your media proxy? I am interested in this topic. regards, Gang On Thu, Jan 29, 2009 at 8:14 PM, manjeet soodan <manjeetss1 at yahoo.com> wrote: > Still no answers, could somebody please answer the below questions? > > Thanks in advance. > > > > --- On Thu, 1/29/09, manjeet soodan <manjeetss1 at yahoo.com> wrote: > > From: manjeet soodan <manjeetss1@xxxxxxxxx> > Subject: Questions on Put_Frame/Get_Frame or on_rx_rtp/on_rx_rtcp > To: pjsip at lists.pjsip.org > Date: Thursday, January 29, 2009, 11:43 AM > > 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 > > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip at lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip at lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > >