multimediacommsengine/mmcesrv/mmcemediamanager/src/mcemediasdpcodec.cpp
branchRCL_3
changeset 14 5bf83dc720b3
parent 0 1bce908db942
child 18 91f50911ea81
child 26 bcc434605a01
equal deleted inserted replaced
11:2a28ef775f15 14:5bf83dc720b3
  1119 	    if ( aRole == EMceRoleOfferer )
  1119 	    if ( aRole == EMceRoleOfferer )
  1120 	      	{
  1120 	      	{
  1121 	   		// did we try old school hold?
  1121 	   		// did we try old school hold?
  1122 	    	if ( oldSchool )           
  1122 	    	if ( oldSchool )           
  1123 	      	    {
  1123 	      	    {
  1124 	      	    if ( !isNullAddress )
  1124           	    if ( loc_direction == SdpCodecStringConstants::EAttributeSendrecv )
  1125 	      	      	{
  1125           	        {
  1126 	      	  		// ignore that other party didn't understand us
  1126           	        if ( !isNullAddress )
  1127 	      	        // and full cancel of old school process
  1127           	            {
  1128 	         	    sSession.iOOldSchool = 0;
  1128           	            rmt_direction = SdpCodecStringConstants::EAttributeSendrecv;
  1129 	            	sSession.iOOldSchoolProceeding = 0;
  1129           	            }
  1130 	                sSession.iOOldSchoolCompleted = 0;
  1130           	        else
  1131 	      	      	}
  1131 	      	            {
       
  1132           	            rmt_direction = SdpCodecStringConstants::EAttributeRecvonly;
       
  1133           	            }
       
  1134           	        }
       
  1135           	    else
       
  1136          	        {
       
  1137           	        if ( !isNullAddress )
       
  1138     				    {
       
  1139                         // ignore that other party didn't understand us
       
  1140                         // and full cancel of old school process
       
  1141                         sSession.iOOldSchool = 0;
       
  1142                         sSession.iOOldSchoolProceeding = 0;
       
  1143                         sSession.iOOldSchoolCompleted = 0;
       
  1144                         }
  1132 	       		
  1145 	       		
  1133 	       		rmt_direction = SdpCodecStringConstants::EAttributeRecvonly;
  1146                     rmt_direction = SdpCodecStringConstants::EAttributeRecvonly;
  1134 	       		oldSchool = 0;
  1147           	        }
       
  1148                 oldSchool = 0;
  1135 	      	    }    
  1149 	      	    }    
  1136             else  //  didn't try old school yet
  1150             else  //  didn't try old school yet
  1137                 {
  1151                 {
  1138                 if ( isNullAddress )
  1152                 if ( isNullAddress )
  1139                     {
  1153                     {