2 * This file was ported to MPlayer from xine CVS real.h,v 1.2 2002/12/24 01:30:22
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.
37 #define uint32_t unsigned int
38 #define uint16_t unsigned short int
39 #define uint8_t unsigned char
43 * calculates response and checksum of a given challenge
44 * (RealChallenge1 in rtsp). See implementation for details.
46 void real_calc_response_and_checksum (char *response
, char *chksum
, char *challenge
);
47 int real_get_rdt_chunk(rtsp_t
*rtsp_session
, char *buffer
);
48 rmff_header_t
*real_parse_sdp(char *data
, char *stream_rules
, uint32_t bandwidth
);
49 rmff_header_t
*real_setup_and_get_header(rtsp_t
*rtsp_session
, uint32_t bandwidth
);