[Sumover-dev] [svn commit] r4521 - vic/branches/cc/rtp
sumover-dev at cs.ucl.ac.uk
sumover-dev at cs.ucl.ac.uk
Fri Oct 16 16:20:18 BST 2009
Author: soohyunc
Date: Fri Oct 16 16:20:17 2009
New Revision: 4521
Modified:
vic/branches/cc/rtp/session.cpp
Log:
removed unnecessary debug printouts according to Revision 4519 and 4520
Modified: vic/branches/cc/rtp/session.cpp
==============================================================================
--- vic/branches/cc/rtp/session.cpp (original)
+++ vic/branches/cc/rtp/session.cpp Fri Oct 16 16:20:17 2009
@@ -1277,16 +1277,16 @@
u_int16_t begin = ntohs(xr1->begin_seq);
u_int16_t end = ntohs(xr1->end_seq);
+ // parse XR chunks
+ u_int16_t *chunk = (u_int16_t *) ++xr1;
+
// i am an RTP data sender, so do the sender stuffs (AoA)
if (am_i_sender()) {
printf(">>> parse_xr - i_am_sender\n");
- // parse XR chunks
- u_int16_t *chunk = (u_int16_t *) ++xr1;
-
printf(" [%s +%d] beg:%d, end:%d, xr1len:%d (xrlen:%d)\n",
__FILE__,__LINE__,begin, end, ntohs(xr1->xr_len), xrlen);
- // TFWC sender
+ // TFWC sender (getting AckVec)
tfwc_sndr_recv(xr->BT, begin, end, chunk);
// we need to call Transmitter::output(pb) to make Ack driven
@@ -1295,16 +1295,10 @@
// i am an RTP data receiver, so receive ackofack
else {
printf(">>> parse_xr - i_am_receiver\n");
- printf(" [%s +%d] beg:%d, end:%d\n",
- __FILE__,__LINE__, begin, end);
-
- // parse XR chunks
- u_int16_t *chunk = (u_int16_t *) ++xr1;
-
- printf(" [%s +%d] begin:%d, chunk[0]:%d\n",
- __FILE__,__LINE__, begin, ntohs(chunk[0]));
+ printf(" [%s +%d] chunk[0]:%d\n",
+ __FILE__,__LINE__, ntohs(chunk[0]));
- // TFWC receiver
+ // TFWC receiver (getting ackofack)
tfwc_rcvr_recv_aoa(xr->BT, chunk);
} // end of XR block type 1
} else {
More information about the Sumover-dev
mailing list