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/audiotx.cpp b/jni/libccrtp/sources/demo/audiotx.cpp
index 33ed45d..211954e 100644
--- a/jni/libccrtp/sources/demo/audiotx.cpp
+++ b/jni/libccrtp/sources/demo/audiotx.cpp
@@ -32,10 +32,14 @@
// 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 std;
+
+// TODO: a temporary fix....just to allow building on broken platforms...
+#ifndef O_NDELAY
+#define O_NDELAY 0
#endif
/**
@@ -138,7 +142,6 @@
// This will be useful for periodic execution
TimerPort::setTimer(PERIOD);
- setCancel(cancelImmediate);
// This is the main loop, where packets are transmitted.
for( int i = 0 ; (!sendingfile || count > 0) ; i++ ) {