Mercurial > mplayer.hg
comparison libmpdemux/realrtsp/rtsp_session.h @ 10199:0c72c1d0d6a4
Fix redirection in real rtsp connections.
Patch by yepyep (sdpplin.c part not committed)
author | rtognimp |
---|---|
date | Wed, 28 May 2003 21:40:53 +0000 |
parents | 6cb7a295ab0e |
children | 88adbc28f60b |
comparison
equal
deleted
inserted
replaced
10198:5c773d4f3a60 | 10199:0c72c1d0d6a4 |
---|---|
28 #ifndef HAVE_RTSP_SESSION_H | 28 #ifndef HAVE_RTSP_SESSION_H |
29 #define HAVE_RTSP_SESSION_H | 29 #define HAVE_RTSP_SESSION_H |
30 | 30 |
31 typedef struct rtsp_session_s rtsp_session_t; | 31 typedef struct rtsp_session_s rtsp_session_t; |
32 | 32 |
33 rtsp_session_t *rtsp_session_start(int fd, char *mrl, char *path, char *host, int port); | 33 rtsp_session_t *rtsp_session_start(int fd, char **mrl, char *path, char *host, int port, int *redir); |
34 | 34 |
35 int rtsp_session_read(rtsp_session_t *session, char *data, int len); | 35 int rtsp_session_read(rtsp_session_t *session, char *data, int len); |
36 | 36 |
37 int rtsp_session_peek_header(rtsp_session_t *this, char *buf, int maxsize); | 37 int rtsp_session_peek_header(rtsp_session_t *this, char *buf, int maxsize); |
38 | 38 |