transport_send_rtcp() segfault issue

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

 



Hi,

I am using "transport_send_rtcp()" to send the RTCP APP packet to the network.

The signature is as below :- transport_send_rtcp(pjmedia_transport *tp, const void *pkt, pj_size_t size);

Now i am passing a "pkt", which is allocated on the heap in my application as the 2nd parameter to "transport_send_rtcp()".

Question is do i need to "delete pkt" in my application once the transport_send_rtcp() return PJ_SUCCESS, or transport_send_rtcp() itseld will take care of this?

I tried deleting it when transport_send_rtcp() returns PJ_SUCCESS, but it segfaults sometimes.

Any help will be appreciated?

Thanks.







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