[pjsip] stream port destroyed before callback function was called

Benny Prijono bennylp at pjsip.org
Wed Feb 20 04:18:11 EST 2008


On 2/18/08, Benny Prijono <bennylp at pjsip.org> wrote:
>
> Yeah we could do that, by installing a callback in
> stop_media_session() function in pjsua_media.c before media session is
> destroyed. I'm still not sure about adding the callback in the API,

Update on this one: there's a new callback to do just this,
on_stream_destroyed(). Please see
http://trac.pjsip.org/repos/ticket/489 for more info.

Also http://trac.pjsip.org/repos/wiki/FAQ#pjsua-lib-perf has been
updated to use the new callback.

cheers,
 -benny




More information about the pjsip mailing list