Changeset 2011 for pjproject


Ignore:
Timestamp:
Jun 12, 2008 6:07:28 PM (16 years ago)
Author:
bennylp
Message:

Related to ticket #525: transport_srtp returns PJ_EINVALIDOP in UPDATE or re-INVITE when media is already active

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/src/pjmedia/transport_srtp.c

    r1944 r2011  
    396396 
    397397    if (srtp->session_inited) { 
    398         PJ_LOG(4, (srtp->pool->obj_name,  
    399                    "Error: unable to start (not initialized)")); 
    400         return PJ_EINVALIDOP; 
     398        pjmedia_transport_srtp_stop(tp); 
    401399    } 
    402400 
Note: See TracChangeset for help on using the changeset viewer.