Fixed RTSP mplayer support
This commit is contained in:
parent
8034578fad
commit
03c64340c3
1 changed files with 1 additions and 1 deletions
|
@ -189,7 +189,7 @@ namespace Mist{
|
|||
source = source.substr(0, loc);
|
||||
}
|
||||
size_t found = HTTP_R.url.find('/', 7);
|
||||
if (!streamName.size()){
|
||||
if (found != std::string::npos && !streamName.size()){
|
||||
streamName = HTTP_R.url.substr(found + 1, HTTP_R.url.substr(found + 1).find('/'));
|
||||
Util::sanitizeName(streamName);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue