do i need to call pjmedia_transport_close() when i use SDP based SRTP transport?

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

 



So, the scheme is next:
* pjmedia_transport_create();*
* pjmedia_transport_start();*
* pjmedia_transport_stop();*
The next step i thought must be *pjmedia_transport_close()* when i don't
want to reuse this transport, but when i called it i have an assert on *
detach()* method in the transport(transport_udp.c, ln 699 -
*pj_assert(user_data
== udp->user_data);*). If i didn't call this method i have a media port
state busy and, of course, memory leak (i used it inside the class, that
destroys, when no needing me anymore).It's all for the SRTP media transport
and based on the documentation on official site.
Can anyone help me with this?
regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20090519/3ce9ac96/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