summaryrefslogtreecommitdiff
path: root/toxav/rtp.h
diff options
context:
space:
mode:
Diffstat (limited to 'toxav/rtp.h')
-rw-r--r--toxav/rtp.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/toxav/rtp.h b/toxav/rtp.h
index 3bfbb7af..b47be18a 100644
--- a/toxav/rtp.h
+++ b/toxav/rtp.h
@@ -28,6 +28,18 @@
28 28
29#include "../toxcore/Messenger.h" 29#include "../toxcore/Messenger.h"
30 30
31#define LOGGED_LOCK(mutex) do { \
32 LOGGER_DEBUG("Locking mutex: %p", mutex);\
33 pthread_mutex_lock(mutex);\
34 LOGGER_DEBUG("Locked mutex: %p", mutex);\
35} while(0)
36
37#define LOGGED_UNLOCK(mutex) do { \
38 LOGGER_DEBUG("Unlocking mutex: %p", mutex);\
39 pthread_mutex_unlock(mutex);\
40 LOGGER_DEBUG("Unlocked mutex: %p", mutex);\
41} while(0)
42
31#define MAX_SEQU_NUM 65535 43#define MAX_SEQU_NUM 65535
32#define MAX_RTP_SIZE 65535 44#define MAX_RTP_SIZE 65535
33 45