Show
Ignore:
Timestamp:
07/25/08 18:23:39 (6 years ago)
Author:
soohyunc
Message:

o deleted duplicated member variable declaration (seqno_ is already defined in

Transmitter class, and SessionManager? is a subclass of it.)

o moved priting seqno part to the right location

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • vic/branches/cc/rtp/session.cpp

    r4228 r4229  
    771771        //u_char* bp = pktbuf_; 
    772772         
    773         rtphdr* rh = (rtphdr*) pb->data; 
    774         seqno_ = ntohs(rh->rh_seqno);   // received packet seqno 
    775         debug_msg("received seqno:      %d\n", seqno_); 
    776          
    777773        int cc = dh->recv(pb->data, sizeof(pb->data), addrp); 
    778774        //int cc = dh->recv(bp, 2 * RTP_MTU - 4, addrp); 
     
    781777                return; 
    782778        } 
     779 
     780        rtphdr* rh = (rtphdr*) pb->data; 
     781        u_int16_t seqno = ntohs(rh->rh_seqno);  // received packet seqno 
     782        debug_msg("received seqno:      %d\n", seqno); 
    783783 
    784784    // Ignore loopback packets