removing sdp port check, filling local sdp port always

This commit is contained in:
kapil 2012-08-13 10:44:28 -04:00
parent 40ea22d882
commit a8c545d376
1 changed files with 2 additions and 1 deletions

View File

@ -2223,7 +2223,8 @@ if((NOTPRSNT == med->numComp.pres) || (0 == med->numComp.val)){
media = med->mediaDesc[j];
/* check for choose port and fill the port */
if(NOTPRSNT != media->field.id.type.pres){
if(CM_SDP_VCID_CHOOSE == media->field.id.type.val){
//if(CM_SDP_VCID_CHOOSE == media->field.id.type.val)
{
MG_INIT_TOKEN_VALUE(&(media->field.id.type),CM_SDP_VCID_PORT);
MG_INIT_TOKEN_VALUE(&(media->field.id.u.port.type),CM_SDP_PORT_INT);
MG_INIT_TOKEN_VALUE(&(media->field.id.u.port.u.portInt.pres),1);