- fix potential problems with builds - size of some structures depends on #define in projects. But #define can be different for app and library (for example) - it will result in strange crashes. Fixed.
This commit is contained in:
@@ -69,10 +69,7 @@ Statistics::Statistics()
|
||||
mReceivedRtcp(0), mSentRtcp(0), mDuplicatedRtp(0), mOldRtp(0), mIllegalRtp(0),
|
||||
mPacketLoss(0), mJitter(0.0), mAudioTime(0), mSsrc(0)
|
||||
{
|
||||
#if defined(USE_AMR_CODEC)
|
||||
mBitrateSwitchCounter = 0;
|
||||
#endif
|
||||
|
||||
memset(mLoss, 0, sizeof mLoss);
|
||||
|
||||
// It is to keep track of statistics instance via grep | wc -l
|
||||
|
||||
@@ -117,9 +117,8 @@ public:
|
||||
uint16_t mSsrc; // Last known SSRC ID in a RTP stream
|
||||
ice::NetworkAddress mRemotePeer; // Last known remote RTP address
|
||||
|
||||
#if defined(USE_AMR_CODEC)
|
||||
// AMR codec bitrate switch counter
|
||||
int mBitrateSwitchCounter;
|
||||
#endif
|
||||
|
||||
std::string mCodecName;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user