Remove unused define
[mplayer.git] / libmpdemux / demux_rtp_internal.h
blob8d54de8e620dcd578c520d60160bd0cd5c1babe3
1 #ifndef _DEMUX_RTP_INTERNAL_H
2 #define _DEMUX_RTP_INTERNAL_H
4 #include <stdlib.h>
6 extern "C" {
7 #ifndef __STREAM_H
8 #include "stream.h"
9 #endif
10 #ifndef __DEMUXER_H
11 #include "demuxer.h"
12 #endif
15 #ifndef _LIVEMEDIA_HH
16 #include <liveMedia.hh>
17 #endif
19 #if (LIVEMEDIA_LIBRARY_VERSION_INT < 1046649600)
20 #error Please upgrade to version 2003.03.03 or later of the "LIVE.COM Streaming Media" libraries - available from <www.live.com/liveMedia/>
21 #endif
23 // Codec-specific initialization routines:
24 void rtpCodecInitialize_video(demuxer_t* demuxer,
25 MediaSubsession* subsession, unsigned& flags);
26 void rtpCodecInitialize_audio(demuxer_t* demuxer,
27 MediaSubsession* subsession, unsigned& flags);
29 // Flags that may be set by the above routines:
30 #define RTPSTATE_IS_MPEG12_VIDEO 0x1 // is a MPEG-1 or 2 video stream
31 #define RTPSTATE_IS_MULTIPLEXED 0x2 // is a combined audio+video stream
33 // A routine to wait for the first packet of a RTP stream to arrive.
34 // (For some RTP payload formats, codecs cannot be fully initialized until
35 // we've started receiving data.)
36 Boolean awaitRTPPacket(demuxer_t* demuxer, demux_stream_t* ds,
37 unsigned char*& packetData, unsigned& packetDataLen,
38 float& pts);
39 // "streamType": 0 => video; 1 => audio
40 // This routine returns False if the input stream has closed
42 // A routine for adding our own data to an incoming RTP data stream:
43 Boolean insertRTPData(demuxer_t* demuxer, demux_stream_t* ds,
44 unsigned char* data, unsigned dataLen);
46 #endif