Changeset 4239
- Timestamp:
- 08/06/08 11:46:54 (5 years ago)
- Location:
- vic/branches/cc/rtp
- Files:
-
- 2 modified
-
session.cpp (modified) (1 diff)
-
transmitter.h (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
vic/branches/cc/rtp/session.cpp
r4238 r4239 664 664 sr->sr_nb = htonl(sl.nb()); 665 665 rr = (rtcp_rr*)(sr + 1); 666 xr = (rtcp_xr*)(rr + 1); // extended report666 //xr = (rtcp_xr*)(rr + 1); // extended report 667 667 } else { 668 668 flags |= RTCP_PT_RR; 669 669 rr = (rtcp_rr*)(rh + 1); 670 xr = (rtcp_xr*)(rr + 1); // extended report 671 } 670 //xr = (rtcp_xr*)(rr + 1); // extended report 671 } 672 673 // if CC is turned on, we need XR report 674 if (is_cc_on()) { 675 flags |= RTCP_PT_XR; 676 xr = (rtcp_xr*)(rh + 1); // extended report 677 } 678 672 679 int nrr = 0; 673 680 int nsrc = 0; -
vic/branches/cc/rtp/transmitter.h
r4234 r4239 84 84 void flush(); 85 85 void send(pktbuf*); 86 inline bool is_cc_on() { return is_cc_active_; } 86 87 /* 87 88 * Buffer allocation hooks. … … 119 120 static int dumpfd_; /* fd to dump packet stream to */ 120 121 static u_int16_t seqno_; 122 123 /* Cc related variables */ 124 bool is_cc_active_; /* is Cc module activated? */ 125 121 126 private: 122 127 static pktbuf* freehdrs_; … … 124 129 static int nbufs_; 125 130 static int nhdrs_; 126 127 /* Cc related variables */128 bool is_cc_active_; /* is Cc module activated? */129 131 }; 130 132
