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

sumover-dev at cs.ucl.ac.uk sumover-dev at cs.ucl.ac.uk
Tue Jul 13 14:54:12 BST 2010


Author: soohyunc
Date: Tue Jul 13 14:54:12 2010
New Revision: 4868

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

Log:

print XR send information at the sender side only.



Modified: vic/branches/cc/rtp/session.cpp
==============================================================================
--- vic/branches/cc/rtp/session.cpp	(original)
+++ vic/branches/cc/rtp/session.cpp	Tue Jul 13 14:54:12 2010
@@ -857,9 +857,10 @@
 	len = sizeof(rtcphdr) + sizeof(rtcp_xr_BT_1_hdr) + (num_chunks * 2);
 	rh->rh_len = htons((len >> 2) - 1);
 
-	// send XR report block
-	send_xr_info(bt, begin_seq, end_seq);
-	ch->send(pktbuf_, len);
+    // send XR report block
+    if(am_i_sender())
+      send_xr_info(bt, begin_seq, end_seq);
+    ch->send(pktbuf_, len);
 }
 
 /*XXX check for buffer overflow*/



More information about the Sumover-dev mailing list