Fixed RTSP auth

This commit is contained in:
Thulinma 2018-06-28 10:48:46 +02:00
parent 8ac475ca95
commit e442bde5a6

View file

@ -346,7 +346,7 @@ void HTTP::Parser::auth(const std::string &user, const std::string &pass,
return;
}
std::string urlPart;
if (url.find("://") != std::string::npos){
if (url.find("://") != std::string::npos && url.substr(0, 4) != "rtsp"){
HTTP::URL tmpUrl(url);
urlPart = "/" + tmpUrl.path;
}else{