Commit 10ed37b5 authored by Martin Storsjö's avatar Martin Storsjö

RTSP: Add the auth credentials to the HTTP tunnel URL, too

Originally committed as revision 23651 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent a955fc5e
...@@ -1573,7 +1573,7 @@ redirect: ...@@ -1573,7 +1573,7 @@ redirect:
char sessioncookie[17]; char sessioncookie[17];
char headers[1024]; 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", snprintf(sessioncookie, sizeof(sessioncookie), "%08x%08x",
av_get_random_seed(), av_get_random_seed()); av_get_random_seed(), av_get_random_seed());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment