Changeset 3890 for pjproject


Ignore:
Timestamp:
Nov 30, 2011 9:34:33 AM (13 years ago)
Author:
bennylp
Message:

Fixed problem with selecting audio codec if rtpmap is omitted from the SDP for the static PT (re #1393, thanks Régis Montoya for the fix!)

File:
1 edited

Legend:

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

    r3878 r3890  
    28342834        pt = pj_strtoul(&local_m->desc.fmt[fmti]); 
    28352835 
     2836        if (pt < 96) { 
     2837            /* This is known static PT. Skip rtpmap checking because it is 
     2838             * optional. */ 
     2839            break; 
     2840        } 
     2841 
    28362842        attr = pjmedia_sdp_media_find_attr(local_m, &ID_RTPMAP, 
    28372843                                           &local_m->desc.fmt[fmti]); 
Note: See TracChangeset for help on using the changeset viewer.