Compare commits

...

4 Commits

1 changed files with 6 additions and 0 deletions

View File

@ -1398,6 +1398,12 @@ static pj_status_t transport_destroy (pjmedia_transport *tp)
PJ_ASSERT_RETURN(tp, PJ_EINVAL);
/* Since we are about to destroy our keying transports, stop member
* transport first to make sure it no longer process any data and
* potentially pass it to the keying transports.
*/
pjmedia_transport_media_stop(srtp->member_tp);
/* Close all keying. Note that any keying should not be destroyed before
* SRTP transport is destroyed as re-INVITE may initiate new keying method
* without destroying SRTP transport.