Switch commoncpp2 to ucommon to solve dependency conflicts.
libccrtp was depending on commoncpp2, and have been replaced by a version
depending on ucommon as well.
diff --git a/jni/libccrtp/sources/demo/audiorx.cpp b/jni/libccrtp/sources/demo/audiorx.cpp
index 1edd86e..0eb1ae0 100644
--- a/jni/libccrtp/sources/demo/audiorx.cpp
+++ b/jni/libccrtp/sources/demo/audiorx.cpp
@@ -32,11 +32,10 @@
// In order to use ccRTP, the RTP stack of CommonC++, you only need to
// include ...
#include <ccrtp/rtp.h>
+#include <fcntl.h>
-#ifdef CCXX_NAMESPACES
-using namespace ost;
+using namespace COMMONCPP_NAMESPACE;
using namespace std;
-#endif
/**
* @class ccRTP_AudioReceiver
@@ -118,7 +117,6 @@
// This will be useful for periodic execution.
TimerPort::setTimer(PERIOD);
- setCancel(cancelImmediate);
// This is the main loop, where packets are sent and receipt.
socket->setPayloadFormat(StaticPayloadFormat(sptPCMU));
for( int i=0 ; true ; i++ ) {