Changeset 4244

Show
Ignore:
Timestamp:
08/06/08 16:12:10 (6 years ago)
Author:
soohyunc
Message:

o bug fixed

(the previous commit made seg faults)

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

Legend:

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

    r4243 r4244  
    798798        rtphdr* rh = (rtphdr*)pb->data; 
    799799        seqno_ = ntohs(rh->rh_seqno);   // get received packet seqno 
    800         tfwc_rcvr_->set_received_seqno(seqno_); // set received seqno in TfwcRcvr 
     800        set_received_seqno(seqno_);     // set received seqno in TfwcRcvr 
    801801 
    802802    // Ignore loopback packets 
  • vic/branches/cc/rtp/session.h

    r4243 r4244  
    4747class Source; 
    4848class SessionManager; 
    49 class TfwcRcvr; 
    5049 
    5150class DataHandler : public IOHandler { 
     
    196195 
    197196        SourceManager *sm_; 
    198         TfwcRcvr *tfwc_rcvr_; 
    199197 
    200198        // RTP packet sequence number (for the use of AckVec) 
  • vic/branches/cc/rtp/transmitter.h

    r4239 r4244  
    5151#include "pktbuf-rtp.h" 
    5252#include "cc/tfwc_sndr.h" 
     53#include "cc/tfwc_rcvr.h" 
    5354 
    5455/* 
     
    5657 * the application level protocol. 
    5758 */ 
    58 class Transmitter : public TclObject, public Timer, public TfwcSndr { 
     59class Transmitter : public TclObject, public Timer,  
     60        public TfwcSndr, public TfwcRcvr { 
    5961    public: 
    6062        Transmitter();