#ifndef RTP_H
#define RTP_H
+#include "avcodec.h"
+#include "avformat.h"
+
#define RTP_MIN_PACKET_LENGTH 12
#define RTP_MAX_PACKET_LENGTH 1500 /* XXX: suppress this define */
#define RTP_PT_PRIVATE 96
#define RTP_VERSION 2
-#define RTP_MAX_SDES 256 /* maximum text length for SDES */
+#define RTP_MAX_SDES 256 /**< maximum text length for SDES */
/* RTCP paquets use 0.5 % of the bandwidth */
#define RTCP_TX_RATIO_NUM 5
#define RTCP_TX_RATIO_DEN 1000
-/* Structure listing useful vars to parse RTP packet payload*/
+/** Structure listing useful vars to parse RTP packet payload*/
typedef struct rtp_payload_data_s
{
int sizelength;
int objecttype;
char *mode;
- /* mpeg 4 AU headers */
+ /** mpeg 4 AU headers */
struct AUHeaders {
int size;
int index;