9922
|
1 /*
|
|
2 * This file was ported to MPlayer from xine CVS real.h,v 1.2 2002/12/24 01:30:22
|
|
3 */
|
|
4
|
|
5 /*
|
|
6 * Copyright (C) 2002 the xine project
|
|
7 *
|
|
8 * This file is part of xine, a free video player.
|
|
9 *
|
|
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.
|
|
14 *
|
|
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.
|
|
19 *
|
|
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
|
|
23 *
|
|
24 *
|
|
25 * special functions for real streams.
|
|
26 * adopted from joschkas real tools.
|
|
27 *
|
|
28 */
|
|
29
|
|
30 #ifndef HAVE_REAL_H
|
|
31 #define HAVE_REAL_H
|
|
32
|
|
33 #include "rmff.h"
|
|
34 #include "rtsp.h"
|
|
35
|
|
36 /*
|
|
37 * calculates response and checksum of a given challenge
|
|
38 * (RealChallenge1 in rtsp). See implementation for details.
|
|
39 */
|
|
40 void real_calc_response_and_checksum (char *response, char *chksum, char *challenge);
|
12266
|
41 int real_get_rdt_chunk(rtsp_t *rtsp_session, char **buffer);
|
|
42 rmff_header_t *real_parse_sdp(char *data, char **stream_rules, uint32_t bandwidth);
|
9922
|
43 rmff_header_t *real_setup_and_get_header(rtsp_t *rtsp_session, uint32_t bandwidth);
|
|
44
|
|
45 #endif
|
|
46
|