Commit ecb827f2 authored by pintar's avatar pintar
Browse files

Correction due to previous correction

parent 12a769b2
Loading
Loading
Loading
Loading
+3 −7
Original line number Diff line number Diff line
@@ -1939,17 +1939,14 @@ group SDPOperations{
			//for every single media (that is not omit)
			v_cn := 0;
		
//			if (ispresent(vc_sdp_local.media_list[i].media_field))//MRO media_field is not optional
//			{
			if (ispresent(vc_sdp_local.media_list))//media_list is optional
			{
						
				log("vc_sdp_local.media_list[i] ",vc_sdp_local.media_list[i]);
//				if (valueof(vc_sdp_local.media_list[i]) != omit)
//				{
					if (ispresent(vc_sdp_local.media_list[i].attributes))
					{
						v_cn := sizeof(vc_sdp_local.media_list[i].attributes);
					};
//				};
				v_set_direction := false;
				//if (sizeof(vc_sdp_local.media_list[i].media_field.fmts)>1) 
				// select the first one
@@ -1960,7 +1957,6 @@ group SDPOperations{
    							or ischosen(vc_sdp_local.media_list[i].attributes[j].inactive)
    							or ischosen(vc_sdp_local.media_list[i].attributes[j].sendrecv))
    					{
    						log("axr3");
    						v_mediaAttributes[k] := valueof(p_direction); v_set_direction := true;
    					}
    				 	else 
@@ -1976,7 +1972,7 @@ group SDPOperations{
    					{ v_mediaAttributes[k] := valueof(p_direction)};
    				vc_sdp_local.media_list[i].attributes := v_mediaAttributes;
				// }
			//}//MRO 
			}
		}	 
		// add handling of prenegotiation, change ports if required etc.
		//if prenegotiation...