Changeset 4236

Show
Ignore:
Timestamp:
08/05/08 17:45:23 (6 years ago)
Author:
soohyunc
Message:

o modified XR report header fields

(comply to RFC 3611 Section 4.1. format)

Location:
vic/branches/cc/rtp
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • vic/branches/cc/rtp/rtp.h

    r4234 r4236  
    130130 
    131131/* 
    132  * RTCP Extended Report 
     132 * RTCP Extended Report. 
    133133 * (RFC 3611) 
    134134 */ 
    135135struct rtcp_xr { 
    136         u_int32_t xr_flags;             /*BT:8 TS:8 LEN:16*/ 
     136        u_int32_t xr_flags;     /* BT:8 TS:8 LEN:16 */ 
     137        u_int32_t xr_srcid;     /* SSRC of the RTP data packet being  
     138                                   reported upon by this report block */ 
     139        u_int16_t xr_begin_seq; /* first seqno that this block report */ 
     140        u_int16_t xr_end_seq;   /* last seqno that this block report plus 1 */ 
    137141        u_int32_t xr_ackvec;    /* Ack vector bit chunk */ 
    138142}; 
     
    151155#define RTCP_PT_BYE     203     /* end of participation */ 
    152156#define RTCP_PT_APP     204     /* application specific functions */ 
    153 #define RTCP_PT_XR      207 /* extended report */ 
     157#define RTCP_PT_XR      207     /* extended report */ 
    154158 
    155159#define         RTCP_SDES_MIN   1 
  • vic/branches/cc/rtp/session.cpp

    r4235 r4236  
    10831083                                      const u_char* ep, Address & addr) 
    10841084{ 
    1085         r->xr_ackvec = ackvec_;  
     1085        ackvec_ = r->xr_ackvec; 
     1086        /* 
     1087         * if AoA is received, then first trim ackvec and send a new ackvec 
     1088         * if AckVec is received, then parse it to TfwcSndr 
     1089         */ 
    10861090} 
    10871091