Bypassing PJMEDIA transport...(Accessing UDP header??)

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

 



Hey all..Is it possible to bypass media transport layer?? and directly work with the RTP packets..i am doing bypassing because i have to do source address check on each receipt of UDP packet which is just partailly provided by PJMEDIA..
pjmedia_transport_udp_create?(pjmedia_endpt?*endpt, const char *name,?int?port, unsigned options,?pjmedia_transport?**p_tp);
We can supply options as ?: ?PJMEDIA_UDP_NO_SRC_ADDR_CHECKING
But there is no callback supplied by the function which can be called at reciept of UDP packet...
I have a requirement to access the UDP packet and react upon it depending on the "symmetric RTP flag" in my application...


pjmedia_transport_attach?(pjmedia_transport?*tp, void *user_data, const?pj_sockaddr_t?*rem_addr, const?pj_sockaddr_t?*rem_rtcp, unsigned addr_len, void(*rtp_cb)(void *user_data, void *pkt,?pj_ssize_t), void(*rtcp_cb)(void *usr_data, void *pkt,?pj_ssize_t));

This function gives me RTP & RTCP packets..i want to access UDP packets .(UDP packets header specifically)..?
Is there a another way around in PJMEDIA or have to bypass and if i bypass what will it effect my other work?? i am making Softphone Media Module using PJMEDIA..

HELP..!!

Thanks,Vikas Khanna.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20111201/bb2b52da/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