Ignore:
Timestamp:
Feb 21, 2008 10:08:27 AM (16 years ago)
Author:
bennylp
Message:

Ticket #467: fixed issues with RTP/AVP vs RTP/SAVP negotiation

File:
1 edited

Legend:

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

    r1427 r1810  
    480480 
    481481 
    482     /* Chec that transport in the answer match our offer. */ 
    483  
    484     if (pj_strcmp(&answer->desc.transport,  
    485                   &offer->desc.transport)!=0)  
     482    /* Check that transport in the answer match our offer. */ 
     483 
     484    /* At this point, transport type must be compatible,  
     485     * the transport instance will do more validation later. 
     486     */ 
     487    if (pjmedia_sdp_transport_cmp(&answer->desc.transport,  
     488                                  &offer->desc.transport)  
     489        != PJ_SUCCESS) 
    486490    { 
    487         /* The transport in the answer is different than the offer! */ 
    488491        return PJMEDIA_SDPNEG_EINVANSTP; 
    489492    } 
     493 
    490494 
    491495    /* Check if remote has rejected our offer */ 
Note: See TracChangeset for help on using the changeset viewer.