Hi, do I have to use pjmedia_rtp_encode_rtp() too ?if yes, where would that be plz. On 10/2/07, Benny Prijono <bennylp at pjsip.org> wrote: > > anass kartit wrote: > > Hi, > > I have been modifying transport_udp.c traying to access the payload and > > encrypt it should I modify the on_rx_rtp in stream.c for that instead ? > > Don't. Work strictly in transport_udp.c, since stream.c doesn't need > to know about encryption in the transport layer. > > If you need to access the payload, you can parse the RTP packet with > pjmedia_rtp_decode_rtp() (by creating a dummy RTP session first > every time you need to parse the RTP packet). > > regards, > -benny > > > > > > _______________________________________________ > 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 > -- Sincerely, Anass Kartit Software Development Engineer Information Technology and Systems, AUI -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20071002/98256301/attachment.html