Mercurial > mplayer.hg
annotate stream/librtsp/rtsp_session.h @ 32272:fd4cd29b6121
Automatic downmix using the pan filter when the requested channel count is 2
and the codec does not support it natively.
Patch by Clment Bsch, ubitux gmail com
author | cigaes |
---|---|
date | Sun, 26 Sep 2010 08:45:40 +0000 |
parents | 2accee15b3ab |
children |
rev | line source |
---|---|
9922 | 1 /* |
2 * This file was ported to MPlayer from xine CVS rtsp_session.h,v 1.4 2003/01/31 14:06:18 | |
3 */ | |
4 | |
5 /* | |
6 * Copyright (C) 2000-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 * high level interface to rtsp servers. | |
18829
317e0fd394c5
added new native rtsp demuxer code for mpeg-ts over rtp (now both real and non-real servers should be handled)
ben
parents:
18799
diff
changeset
|
26 * |
317e0fd394c5
added new native rtsp demuxer code for mpeg-ts over rtp (now both real and non-real servers should be handled)
ben
parents:
18799
diff
changeset
|
27 * 2006, Benjamin Zores and Vincent Mussard |
317e0fd394c5
added new native rtsp demuxer code for mpeg-ts over rtp (now both real and non-real servers should be handled)
ben
parents:
18799
diff
changeset
|
28 * Support for MPEG-TS streaming through RFC compliant RTSP servers |
9922 | 29 */ |
30 | |
26029 | 31 #ifndef MPLAYER_RTSP_SESSION_H |
32 #define MPLAYER_RTSP_SESSION_H | |
9922 | 33 |
26631
2accee15b3ab
Add missing header #includes to fix 'make checkheaders'.
diego
parents:
26029
diff
changeset
|
34 #include <stdint.h> |
2accee15b3ab
Add missing header #includes to fix 'make checkheaders'.
diego
parents:
26029
diff
changeset
|
35 |
9922 | 36 typedef struct rtsp_session_s rtsp_session_t; |
37 | |
20527 | 38 rtsp_session_t *rtsp_session_start(int fd, char **mrl, char *path, char *host, |
39 int port, int *redir, uint32_t bandwidth, char *user, char *pass); | |
9922 | 40 |
41 int rtsp_session_read(rtsp_session_t *session, char *data, int len); | |
42 | |
43 void rtsp_session_end(rtsp_session_t *session); | |
44 | |
26029 | 45 #endif /* MPLAYER_RTSP_SESSION_H */ |