From 13636fce07413d5b0e4356302753686dece3b595 Mon Sep 17 00:00:00 2001 From: rtogni Date: Mon, 30 Oct 2006 21:55:58 +0000 Subject: Realrtsp authentication git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20543 b3059339-0415-0410-9bf9-f77b7e298cf2 --- stream/librtsp/rtsp_session.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'stream/librtsp/rtsp_session.c') diff --git a/stream/librtsp/rtsp_session.c b/stream/librtsp/rtsp_session.c index b222543f57..6d440e06a4 100644 --- a/stream/librtsp/rtsp_session.c +++ b/stream/librtsp/rtsp_session.c @@ -74,7 +74,8 @@ struct rtsp_session_s { }; //rtsp_session_t *rtsp_session_start(char *mrl) { -rtsp_session_t *rtsp_session_start(int fd, char **mrl, char *path, char *host, int port, int *redir, uint32_t bandwidth) { +rtsp_session_t *rtsp_session_start(int fd, char **mrl, char *path, char *host, + int port, int *redir, uint32_t bandwidth, char *user, char *pass) { rtsp_session_t *rtsp_session = NULL; char *server; @@ -111,7 +112,7 @@ rtsp_session_t *rtsp_session_start(int fd, char **mrl, char *path, char *host, i { /* we are talking to a real server ... */ - h=real_setup_and_get_header(rtsp_session->s, bandwidth); + h=real_setup_and_get_header(rtsp_session->s, bandwidth, user, pass); if (!h) { /* got an redirect? */ if (rtsp_search_answers(rtsp_session->s, RTSP_OPTIONS_LOCATION)) -- cgit v1.2.3