[Sumover-dev] [svn commit] r4507 - vic/branches/cc/rtp

sumover-dev at cs.ucl.ac.uk sumover-dev at cs.ucl.ac.uk
Fri Aug 7 15:50:02 BST 2009


Author: soohyunc
Date: Fri Aug  7 15:50:00 2009
New Revision: 4507

Modified:
   vic/branches/cc/rtp/session.cpp

Log:
this part should be stripped - it was there for test purpose earlier, and we
don't need it any more.


Modified: vic/branches/cc/rtp/session.cpp
==============================================================================
--- vic/branches/cc/rtp/session.cpp	(original)
+++ vic/branches/cc/rtp/session.cpp	Fri Aug  7 15:50:00 2009
@@ -654,7 +654,7 @@
 		// this block is used for giving seqno and ackofack
 		if(bt == XR_BT_1) {
 			printf("\t>> about to send RTCP XR (seqno, AoA)\n");
-			// get the number of chunks (currently 1 chunk)
+			// set the number of chunks for giving ackofack
 			num_chunks = 1;
 			chunks = (u_int16_t *)malloc(num_chunks * sizeof(u_int16_t));
 			// set AckofAck
@@ -675,7 +675,7 @@
 		// this block is used for giving ackvec
 		if (bt == XR_BT_1) {
 			printf("\t>> about to send RTCP XR (AckVec)\n");
-			// get the number of chunks
+			// get the number of required chunks for giving AckVec
 			num_chunks = tfwc_rcvr_numvec();
 
 			// declare chunks
@@ -746,14 +746,6 @@
 	printf("\t>> sending RTCP XR: BT:%d, begin:%d, end:%d\n",
 			bt, ntohs(xr->begin_seq), ntohs(xr->end_seq));
 
-	// XXX XR num_chunks too large??
-	if (num_chunks > 512) {
-		debug_msg("ERROR: num_chunks too large:%d \
-				- NOT sending pkt\n", num_chunks);
-		num_chunks = 1;
-		//return;
-	}
-
 	// declare XR report chunks
 	u_int16_t *xrchunks = (u_int16_t *) (xr + 1);
 



More information about the Sumover-dev mailing list