- 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:
@@ -10,9 +10,7 @@
|
||||
# include "jrtplib/src/rtppacket.h"
|
||||
#endif
|
||||
|
||||
#if !defined(USE_NULL_UUID)
|
||||
# include "HL_Uuid.h"
|
||||
#endif
|
||||
#include "HL_Uuid.h"
|
||||
|
||||
|
||||
#include "HL_InternetAddress.h"
|
||||
@@ -82,9 +80,7 @@ struct MediaStreamId
|
||||
InternetAddress mDestination;
|
||||
uint32_t mSSRC = 0;
|
||||
bool mSsrcIsId = true;
|
||||
#if !defined(USE_NULL_UUID)
|
||||
Uuid mLinkId;
|
||||
#endif
|
||||
bool operator < (const MediaStreamId& s2) const;
|
||||
bool operator == (const MediaStreamId& right) const;
|
||||
|
||||
|
||||
@@ -20,6 +20,10 @@ public:
|
||||
bool operator < (const Uuid& right) const;
|
||||
|
||||
protected:
|
||||
#if defined(USE_NULL_UUID)
|
||||
unsigned char mUuid[16];
|
||||
#else
|
||||
|
||||
#if defined(TARGET_LINUX) || defined(TARGET_OSX)
|
||||
uuid_t mUuid;
|
||||
#endif
|
||||
@@ -29,6 +33,7 @@ protected:
|
||||
#if defined(TARGET_ANDROID)
|
||||
// Stub only
|
||||
#endif
|
||||
#endif
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user