summaryrefslogtreecommitdiff
path: root/toxav/toxrtp.h
diff options
context:
space:
mode:
Diffstat (limited to 'toxav/toxrtp.h')
-rwxr-xr-xtoxav/toxrtp.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/toxav/toxrtp.h b/toxav/toxrtp.h
index 32234ebe..9f8ae5ee 100755
--- a/toxav/toxrtp.h
+++ b/toxav/toxrtp.h
@@ -27,13 +27,14 @@
27 27
28#define RTP_VERSION 2 28#define RTP_VERSION 2
29#include <inttypes.h> 29#include <inttypes.h>
30#include <pthread.h>
30#include "../toxcore/tox.h" 31#include "../toxcore/tox.h"
31 32
32#define MAX_SEQU_NUM 65535 33#define MAX_SEQU_NUM 65535
33 34#define MAX_RTP_SIZE 1400
34 35
35/** 36/**
36 * @brief Standard rtp header. 37 * @brief Standard rtp header
37 * 38 *
38 */ 39 */
39 40
@@ -69,7 +70,7 @@ typedef struct _RTPMessage {
69 RTPHeader* header; 70 RTPHeader* header;
70 RTPExtHeader* ext_header; 71 RTPExtHeader* ext_header;
71 72
72 uint8_t* data; 73 uint8_t data[MAX_RTP_SIZE];
73 uint32_t length; 74 uint32_t length;
74 tox_IP_Port from; 75 tox_IP_Port from;
75 76