summaryrefslogtreecommitdiff
path: root/toxav/rtp.h
diff options
context:
space:
mode:
authoriphydf <iphydf@users.noreply.github.com>2018-02-02 15:37:19 +0000
committeriphydf <iphydf@users.noreply.github.com>2018-02-08 13:20:40 +0000
commit36ba80aacb2a582854f0e5e3ed0d69ca63db52ea (patch)
treea2091d0ad11007b6be9a54ea8463c3fcd25b8212 /toxav/rtp.h
parent3fcc9a3c83c807792846ae2c9f98aeb447e62805 (diff)
Remove csrc from the RTPHeader struct.
This is not used by anything in the code, so we shouldn't have it in the header.
Diffstat (limited to 'toxav/rtp.h')
-rw-r--r--toxav/rtp.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/toxav/rtp.h b/toxav/rtp.h
index 3f684ee5..c8af08d7 100644
--- a/toxav/rtp.h
+++ b/toxav/rtp.h
@@ -37,6 +37,12 @@ extern "C" {
37#define RTP_HEADER_SIZE 80 37#define RTP_HEADER_SIZE 80
38 38
39/** 39/**
40 * Number of 32 bit padding fields between \ref RTPHeader::offset_lower and
41 * everything before it.
42 */
43#define RTP_PADDING_FIELDS 11
44
45/**
40 * Payload type identifier. Also used as rtp callback prefix. 46 * Payload type identifier. Also used as rtp callback prefix.
41 */ 47 */
42enum { 48enum {
@@ -98,12 +104,6 @@ struct RTPHeader {
98 uint32_t received_length_full; 104 uint32_t received_length_full;
99 105
100 /** 106 /**
101 * Unused fields. If you want to add more information to this header, remove
102 * one csrc and add the appropriate number of fields in its place.
103 */
104 uint32_t csrc[11];
105
106 /**
107 * Data offset of the current part (lower bits). 107 * Data offset of the current part (lower bits).
108 */ 108 */
109 uint16_t offset_lower; 109 uint16_t offset_lower;