Changeset 4919


Ignore:
Timestamp:
Sep 9, 2014 4:25:03 AM (10 years ago)
Author:
ming
Message:

Re #1784: Revert API change

Location:
pjproject/trunk/pjsip
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/include/pjsua2/call.hpp

    r4918 r4919  
    8787 
    8888/** 
     89 * Types of loss detected. 
     90 */ 
     91struct LossType 
     92{ 
     93    unsigned        burst;      /**< Burst/sequential packet lost detected  */ 
     94    unsigned        random;     /**< Random packet lost detected.           */ 
     95}; 
     96 
     97/** 
    8998 * Unidirectional RTP stream statistics. 
    9099 */ 
     
    102111    MathStat        lossPeriodUsec; /**< Loss period statistics             */ 
    103112 
    104                                 /**< Types of loss detected.                */ 
    105     unsigned        burst;      /**< Burst/sequential packet lost detected  */ 
    106     unsigned        random;     /**< Random packet lost detected.           */ 
     113    LossType        lossType;   /**< Types of loss detected.                */ 
    107114     
    108115    MathStat        jitterUsec; /**< Jitter statistics                      */ 
  • pjproject/trunk/pjsip/src/pjsua2/call.cpp

    r4918 r4919  
    5757    this->dup             = prm.dup; 
    5858    this->lossPeriodUsec.fromPj(prm.loss_period); 
    59     this->burst           = prm.loss_type.burst; 
    60     this->random          = prm.loss_type.random; 
     59    this->lossType.burst  = prm.loss_type.burst; 
     60    this->lossType.random = prm.loss_type.random; 
    6161    this->jitterUsec.fromPj(prm.jitter); 
    6262} 
Note: See TracChangeset for help on using the changeset viewer.