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

sumover-dev at cs.ucl.ac.uk sumover-dev at cs.ucl.ac.uk
Tue Aug 5 17:45:24 BST 2008


Author: soohyunc
Date: Tue Aug  5 17:45:23 2008
New Revision: 4236

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

Log:
o  modified XR report header fields
   (comply to RFC 3611 Section 4.1. format)


Modified: vic/branches/cc/rtp/rtp.h
==============================================================================
--- vic/branches/cc/rtp/rtp.h	(original)
+++ vic/branches/cc/rtp/rtp.h	Tue Aug  5 17:45:23 2008
@@ -129,11 +129,15 @@
 };
 
 /*
- * RTCP Extended Report
+ * RTCP Extended Report.
  * (RFC 3611)
  */
 struct rtcp_xr {
-	u_int32_t xr_flags;		/*BT:8 TS:8 LEN:16*/
+	u_int32_t xr_flags;	/* BT:8 TS:8 LEN:16 */
+	u_int32_t xr_srcid;	/* SSRC of the RTP data packet being 
+				   reported upon by this report block */
+	u_int16_t xr_begin_seq;	/* first seqno that this block report */
+	u_int16_t xr_end_seq;	/* last seqno that this block report plus 1 */
 	u_int32_t xr_ackvec;	/* Ack vector bit chunk */
 };
 
@@ -150,7 +154,7 @@
 #define 	RTCP_SDES_PRIV	8	/* private SDES extensions */
 #define RTCP_PT_BYE	203	/* end of participation */
 #define RTCP_PT_APP	204	/* application specific functions */
-#define RTCP_PT_XR	207 /* extended report */
+#define RTCP_PT_XR	207	/* extended report */
 
 #define		RTCP_SDES_MIN	1
 #define		RTCP_SDES_MAX	7

Modified: vic/branches/cc/rtp/session.cpp
==============================================================================
--- vic/branches/cc/rtp/session.cpp	(original)
+++ vic/branches/cc/rtp/session.cpp	Tue Aug  5 17:45:23 2008
@@ -1082,7 +1082,11 @@
 void SessionManager::parse_xr_records(u_int32_t ssrc, rtcp_xr* r, int cnt,
 				      const u_char* ep, Address & addr)
 {
-	r->xr_ackvec = ackvec_;	
+	ackvec_ = r->xr_ackvec;
+	/*
+	 * if AoA is received, then first trim ackvec and send a new ackvec
+	 * if AckVec is received, then parse it to TfwcSndr
+	 */
 }
 
 int SessionManager::sdesbody(u_int32_t* p, u_char* ep, Source* ps,



More information about the Sumover-dev mailing list