mirror of https://git.ffmpeg.org/ffmpeg.git
RTSP: Add the auth credentials to the HTTP tunnel URL, too
Originally committed as revision 23651 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
a955fc5ee7
commit
10ed37b5d1
|
@ -1573,7 +1573,7 @@ redirect:
|
|||
char sessioncookie[17];
|
||||
char headers[1024];
|
||||
|
||||
ff_url_join(httpname, sizeof(httpname), "http", NULL, host, port, "%s", path);
|
||||
ff_url_join(httpname, sizeof(httpname), "http", auth, host, port, "%s", path);
|
||||
snprintf(sessioncookie, sizeof(sessioncookie), "%08x%08x",
|
||||
av_get_random_seed(), av_get_random_seed());
|
||||
|
||||
|
|
Loading…
Reference in New Issue