Decreased trigger verbosity, fixed RTMP_PUSH_REWRITE and PUSH_OUT_START triggers not properly ignoring response when ran in non-blocking mode.
This commit is contained in:
parent
c2ecab2e6b
commit
52a10eaea7
3 changed files with 3 additions and 3 deletions
|
@ -740,7 +740,7 @@ namespace Mist{
|
|||
/*LTS-START*/
|
||||
if(Triggers::shouldTrigger("RTMP_PUSH_REWRITE")){
|
||||
std::string payload = reqUrl+"\n" + getConnectedHost();
|
||||
std::string newUrl = "";
|
||||
std::string newUrl = reqUrl;
|
||||
Triggers::doTrigger("RTMP_PUSH_REWRITE", payload, "", false, newUrl);
|
||||
if (!newUrl.size()){
|
||||
FAIL_MSG("Push from %s to URL %s rejected - RTMP_PUSH_REWRITE trigger blanked the URL", getConnectedHost().c_str(), reqUrl.c_str());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue