Raise LIBASS_VERSION, forgotten in r31293.
[mplayer/glamo.git] / stream / realrtsp / real.h
blob6cc771b71896bab0bae9609bd4f63f929f22e9a6
1 /*
2 * This file was ported to MPlayer from xine CVS real.h,v 1.2 2002/12/24 01:30:22
3 */
5 /*
6 * Copyright (C) 2002 the xine project
8 * This file is part of xine, a free video player.
10 * xine is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License as published by
12 * the Free Software Foundation; either version 2 of the License, or
13 * (at your option) any later version.
15 * xine is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU General Public License for more details.
20 * You should have received a copy of the GNU General Public License
21 * along with this program; if not, write to the Free Software
22 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
25 * special functions for real streams.
26 * adopted from joschkas real tools.
30 #ifndef MPLAYER_REAL_H
31 #define MPLAYER_REAL_H
33 #include "rmff.h"
34 #include "stream/librtsp/rtsp.h"
36 #define REAL_HEADER_SIZE 4096
38 struct real_rtsp_session_t {
39 /* receive buffer */
40 uint8_t *recv;
41 int recv_size;
42 int recv_read;
44 /* header buffer */
45 uint8_t header[REAL_HEADER_SIZE];
46 int header_len;
47 int header_read;
49 int rdteof;
51 int rdt_rawdata;
54 int real_get_rdt_chunk(rtsp_t *rtsp_session, char **buffer, int rdt_rawdata);
55 rmff_header_t *real_setup_and_get_header(rtsp_t *rtsp_session, uint32_t bandwidth,
56 char *username, char *password);
57 struct real_rtsp_session_t *init_real_rtsp_session (void);
58 void free_real_rtsp_session (struct real_rtsp_session_t* real_session);
60 #endif /* MPLAYER_REAL_H */