Ignore:
Timestamp:
Feb 21, 2008 10:08:27 AM (12 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/session.c

    r1801 r1810  
    191191    /* Transport protocol */ 
    192192 
    193     /* Transport type must be equal */ 
    194     if (pj_stricmp(&rem_m->desc.transport,  
    195                    &local_m->desc.transport) != 0)  
    196     { 
    197         si->type = PJMEDIA_TYPE_UNKNOWN; 
     193    /* At this point, transport type must be compatible,  
     194     * the transport instance will do more validation later. 
     195     */ 
     196    status = pjmedia_sdp_transport_cmp(&rem_m->desc.transport,  
     197                                       &local_m->desc.transport); 
     198    if (status != PJ_SUCCESS) 
    198199        return PJMEDIA_SDPNEG_EINVANSTP; 
    199     } 
    200200 
    201201    if (pj_stricmp(&local_m->desc.transport, &ID_RTP_AVP) == 0) { 
Note: See TracChangeset for help on using the changeset viewer.