Fixed RTSP auth
This commit is contained in:
parent
8ac475ca95
commit
e442bde5a6
1 changed files with 1 additions and 1 deletions
|
@ -346,7 +346,7 @@ void HTTP::Parser::auth(const std::string &user, const std::string &pass,
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
std::string urlPart;
|
std::string urlPart;
|
||||||
if (url.find("://") != std::string::npos){
|
if (url.find("://") != std::string::npos && url.substr(0, 4) != "rtsp"){
|
||||||
HTTP::URL tmpUrl(url);
|
HTTP::URL tmpUrl(url);
|
||||||
urlPart = "/" + tmpUrl.path;
|
urlPart = "/" + tmpUrl.path;
|
||||||
}else{
|
}else{
|
||||||
|
|
Loading…
Add table
Reference in a new issue