2008-02-22 10:09:46 +01:00
|
|
|
#ifndef MPLAYER_DEMUX_RTP_H
|
|
|
|
#define MPLAYER_DEMUX_RTP_H
|
2002-08-05 02:39:07 +02:00
|
|
|
|
|
|
|
#include <stdlib.h>
|
|
|
|
#include <stdio.h>
|
|
|
|
|
2007-07-03 00:34:45 +02:00
|
|
|
#ifndef STREAM_H
|
2007-03-15 19:36:36 +01:00
|
|
|
#include "stream/stream.h"
|
2002-08-05 02:39:07 +02:00
|
|
|
#endif
|
2007-07-03 00:34:45 +02:00
|
|
|
#ifndef DEMUXER_H
|
2002-08-05 02:39:07 +02:00
|
|
|
#include "demuxer.h"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
// Open a RTP demuxer (which was initiated either from a SDP file,
|
|
|
|
// or from a RTSP URL):
|
2004-02-22 07:19:24 +01:00
|
|
|
demuxer_t* demux_open_rtp(demuxer_t* demuxer);
|
2002-08-05 02:39:07 +02:00
|
|
|
|
|
|
|
// Test whether a RTP demuxer is for a MPEG stream:
|
|
|
|
int demux_is_mpeg_rtp_stream(demuxer_t* demuxer);
|
|
|
|
|
2003-07-27 12:11:42 +02:00
|
|
|
// Test whether a RTP demuxer contains combined (multiplexed)
|
|
|
|
// audio+video (and so needs to be demuxed by higher-level code):
|
|
|
|
int demux_is_multiplexed_rtp_stream(demuxer_t* demuxer);
|
|
|
|
|
2002-08-05 02:39:07 +02:00
|
|
|
// Read from a RTP demuxer:
|
|
|
|
int demux_rtp_fill_buffer(demuxer_t *demux, demux_stream_t* ds);
|
|
|
|
|
|
|
|
// Close a RTP demuxer
|
|
|
|
void demux_close_rtp(demuxer_t* demuxer);
|
|
|
|
|
2008-02-22 10:09:46 +01:00
|
|
|
#endif /* MPLAYER_DEMUX_RTP_H */
|