diff options
author | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-08-05 00:39:07 +0000 |
---|---|---|
committer | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-08-05 00:39:07 +0000 |
commit | fa788640e26698f98070cc01be09dc5071580881 (patch) | |
tree | 3963d1dd69d48ad440e02251286001d90f5fbb01 /libmpdemux/demux_rtp.h | |
parent | 11bc29e6cc3aaa2a70562f1142609d2800e2f6b9 (diff) | |
download | mpv-fa788640e26698f98070cc01be09dc5071580881.tar.bz2 mpv-fa788640e26698f98070cc01be09dc5071580881.tar.xz |
applied live.com streaming patch (-sdp and rtsp:// support) by Ross Finlayson <finlayson@live.com>
see <http://www.live.com/mplayer/> for details.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6911 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux/demux_rtp.h')
-rw-r--r-- | libmpdemux/demux_rtp.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/libmpdemux/demux_rtp.h b/libmpdemux/demux_rtp.h new file mode 100644 index 0000000000..5e46191d73 --- /dev/null +++ b/libmpdemux/demux_rtp.h @@ -0,0 +1,33 @@ +#ifndef _DEMUX_RTP_H +#define _DEMUX_RTP_H + +#include <stdlib.h> +#include <stdio.h> + +#ifndef __STREAM_H +#include "stream.h" +#endif +#ifndef __DEMUXER_H +#include "demuxer.h" +#endif + +// Open a SDP file: +stream_t* stream_open_sdp(int fd, off_t fileSize, int* file_format); + +// Open a RTSP URL: +int rtsp_streaming_start(stream_t* stream); + +// Open a RTP demuxer (which was initiated either from a SDP file, +// or from a RTSP URL): +void demux_open_rtp(demuxer_t* demuxer); + +// Test whether a RTP demuxer is for a MPEG stream: +int demux_is_mpeg_rtp_stream(demuxer_t* demuxer); + +// 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); + +#endif |