Ignore:
Timestamp:
Jun 23, 2010 12:38:28 PM (14 years ago)
Author:
bennylp
Message:

Fixed #1079 (Media transport should be kept alive during double-hold scenario). Details:

  • now the stream will be destroyed but the media transport will be kept alive during doublehold scenario
  • small fix in SRTP to also negotiate crypto even when the media is marked as inactive, otherwise it's possible that an "optional" endpoint would create RTP/AVP offer and send it to "mandatory" endpoint, which would be rejected and cause the media port to be set to zero
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsua-lib/pjsua_media.c

    r3215 r3219  
    15581558        call->media_dir = PJMEDIA_DIR_NONE; 
    15591559 
     1560        /* Don't stop transport because we need to transmit keep-alives, and 
     1561         * also to prevent restarting ICE negotiation. See 
     1562         *  http://trac.pjsip.org/repos/ticket/1094 
     1563         */ 
     1564#if 0 
    15601565        /* Shutdown transport's session */ 
    15611566        pjmedia_transport_media_stop(call->med_tp); 
     
    15691574            call->med_tp = call->med_orig; 
    15701575        } 
     1576#endif 
    15711577 
    15721578    } else { 
Note: See TracChangeset for help on using the changeset viewer.