Mercurial > mplayer.hg
comparison libmpdemux/realrtsp/rtsp_session.h @ 17332:88adbc28f60b
This patch makes real rtsp tell the server to deliver data at specified
bandwidth, if bandwidth cmdline option is given. Also, if that's given,
it uses it for sdp stream selection. If not given, the behavior is the
same as before.
It's used to implement something like turboplay in realplayer.
Patch by Tomas Janousek >>> tomi (At) nomi (.) cz <<<
author | rtognimp |
---|---|
date | Fri, 06 Jan 2006 14:39:10 +0000 |
parents | 0c72c1d0d6a4 |
children | a738f1e0224f |
comparison
equal
deleted
inserted
replaced
17331:7a718d3fd1fd | 17332:88adbc28f60b |
---|---|
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, int *redir); | 33 rtsp_session_t *rtsp_session_start(int fd, char **mrl, char *path, char *host, int port, int *redir, uint32_t bandwidth); |
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 |