comparison libmpdemux/demux_rtp.h @ 6910:1a747aee653b

applied live.com streaming patch (-sdp and rtsp:// support) by Ross Finlayson <finlayson@live.com> see <http://www.live.com/mplayer/> for details.
author arpi
date Mon, 05 Aug 2002 00:39:07 +0000
parents
children 99d459e7fdb9
comparison
equal deleted inserted replaced
6909:db5e0161f021 6910:1a747aee653b
1 #ifndef _DEMUX_RTP_H
2 #define _DEMUX_RTP_H
3
4 #include <stdlib.h>
5 #include <stdio.h>
6
7 #ifndef __STREAM_H
8 #include "stream.h"
9 #endif
10 #ifndef __DEMUXER_H
11 #include "demuxer.h"
12 #endif
13
14 // Open a SDP file:
15 stream_t* stream_open_sdp(int fd, off_t fileSize, int* file_format);
16
17 // Open a RTSP URL:
18 int rtsp_streaming_start(stream_t* stream);
19
20 // Open a RTP demuxer (which was initiated either from a SDP file,
21 // or from a RTSP URL):
22 void demux_open_rtp(demuxer_t* demuxer);
23
24 // Test whether a RTP demuxer is for a MPEG stream:
25 int demux_is_mpeg_rtp_stream(demuxer_t* demuxer);
26
27 // Read from a RTP demuxer:
28 int demux_rtp_fill_buffer(demuxer_t *demux, demux_stream_t* ds);
29
30 // Close a RTP demuxer
31 void demux_close_rtp(demuxer_t* demuxer);
32
33 #endif