24564
|
1 /*
|
|
2 * Copyright (C) 2007 Alessandro Molina <amol.wrk@gmail.com>
|
|
3 * based on previous Live555 RTP support.
|
|
4 *
|
|
5 * MPlayer is free software; you can redistribute it and/or modify
|
|
6 * it under the terms of the GNU General Public License as published by
|
|
7 * the Free Software Foundation; either version 2 of the License, or
|
|
8 * (at your option) any later version.
|
|
9 *
|
|
10 * MPlayer is distributed in the hope that it will be useful,
|
|
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
13 * GNU General Public License for more details.
|
|
14 *
|
|
15 * You should have received a copy of the GNU General Public License
|
|
16 * along with MPlayer; if not, write to the Free Software Foundation,
|
|
17 * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
18 */
|
|
19
|
|
20
|
|
21 #ifndef DEMUX_NEMESI_H
|
|
22 #define DEMUX_NEMESI_H
|
|
23
|
|
24 #include <stdlib.h>
|
|
25 #include <stdio.h>
|
|
26 #include "stream/stream.h"
|
|
27 #include "demuxer.h"
|
|
28
|
|
29
|
|
30 /**
|
|
31 * Open the RTP demuxer
|
|
32 */
|
|
33 demuxer_t* demux_open_rtp(demuxer_t* demuxer);
|
|
34
|
|
35 /**
|
|
36 * Read from the RTP demuxer
|
|
37 */
|
|
38 int demux_rtp_fill_buffer(demuxer_t *demux, demux_stream_t* ds);
|
|
39
|
|
40 /**
|
|
41 * Close the RTP demuxer
|
|
42 */
|
|
43 void demux_close_rtp(demuxer_t* demuxer);
|
|
44
|
|
45 #endif /* DEMUX_NEMESI_H */
|
|
46
|