1 #ifndef MPLAYER_DEMUX_RTP_H
2 #define MPLAYER_DEMUX_RTP_H
8 #include "stream/stream.h"
14 // Open a RTP demuxer (which was initiated either from a SDP file,
15 // or from a RTSP URL):
16 demuxer_t
* demux_open_rtp(demuxer_t
* demuxer
);
18 // Test whether a RTP demuxer is for a MPEG stream:
19 int demux_is_mpeg_rtp_stream(demuxer_t
* demuxer
);
21 // Test whether a RTP demuxer contains combined (multiplexed)
22 // audio+video (and so needs to be demuxed by higher-level code):
23 int demux_is_multiplexed_rtp_stream(demuxer_t
* demuxer
);
25 // Read from a RTP demuxer:
26 int demux_rtp_fill_buffer(demuxer_t
*demux
, demux_stream_t
* ds
);
28 // Close a RTP demuxer
29 void demux_close_rtp(demuxer_t
* demuxer
);
31 #endif /* MPLAYER_DEMUX_RTP_H */