Fixed RTMP_REWRITE trigger behaviour for invalid responses.
This commit is contained in:
parent
bd6034828f
commit
b27c25482a
1 changed files with 2 additions and 0 deletions
|
@ -756,6 +756,8 @@ namespace Mist {
|
||||||
size_t lSlash = newUrl.rfind('/');
|
size_t lSlash = newUrl.rfind('/');
|
||||||
if (lSlash != std::string::npos){
|
if (lSlash != std::string::npos){
|
||||||
streamName = newUrl.substr(lSlash+1);
|
streamName = newUrl.substr(lSlash+1);
|
||||||
|
}else{
|
||||||
|
streamName = newUrl;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/*LTS-END*/
|
/*LTS-END*/
|
||||||
|
|
Loading…
Add table
Reference in a new issue