summaryrefslogtreecommitdiff
path: root/toxav/codec.h
diff options
context:
space:
mode:
authormannol <eniz_vukovic@hotmail.com>2015-04-13 01:45:53 +0200
committermannol <eniz_vukovic@hotmail.com>2015-04-13 01:45:53 +0200
commit2465f486acd90ed8395c8a83a13af09ecd024c98 (patch)
tree4abe53d39eb07a45e5ed4d8894b7ae038e2bb705 /toxav/codec.h
parentb2d88a4544a81a217db18b60d91a44d85821db3d (diff)
Started custom RTCP
Diffstat (limited to 'toxav/codec.h')
-rw-r--r--toxav/codec.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/toxav/codec.h b/toxav/codec.h
index 830dbbf6..7cc9b15d 100644
--- a/toxav/codec.h
+++ b/toxav/codec.h
@@ -25,6 +25,8 @@
25#include "toxav.h" 25#include "toxav.h"
26#include "rtp.h" 26#include "rtp.h"
27 27
28#include "../toxcore/util.h"
29
28#include <stdio.h> 30#include <stdio.h>
29#include <math.h> 31#include <math.h>
30#include <pthread.h> 32#include <pthread.h>
@@ -40,8 +42,6 @@
40/* Audio encoding/decoding */ 42/* Audio encoding/decoding */
41#include <opus.h> 43#include <opus.h>
42 44
43#define PAIR(TYPE1__, TYPE2__) struct { TYPE1__ first; TYPE2__ second; }
44
45#define PACKED_AUDIO_SIZE(x) (x + 5) 45#define PACKED_AUDIO_SIZE(x) (x + 5)
46#define UNPACKED_AUDIO_SIZE(x) (x - 5) 46#define UNPACKED_AUDIO_SIZE(x) (x - 5)
47 47
@@ -125,8 +125,4 @@ const uint8_t *cs_iterate_split_video_frame(CSession *cs, uint16_t *size);
125 125
126int cs_reconfigure_video_encoder(CSession* cs, int32_t bitrate, uint16_t width, uint16_t height); 126int cs_reconfigure_video_encoder(CSession* cs, int32_t bitrate, uint16_t width, uint16_t height);
127int cs_reconfigure_audio_encoder(CSession* cs, int32_t bitrate, int32_t sampling_rate, uint8_t channels); 127int cs_reconfigure_audio_encoder(CSession* cs, int32_t bitrate, int32_t sampling_rate, uint8_t channels);
128
129
130/* Internal. Called from rtp_handle_message */
131void queue_message(RTPSession *session, RTPMessage *msg);
132#endif /* CODEC_H */ 128#endif /* CODEC_H */