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:
Thulinma 2020-09-24 16:06:56 +02:00
parent c2ecab2e6b
commit 52a10eaea7
3 changed files with 3 additions and 3 deletions

View file

@ -560,7 +560,7 @@ JSON::Value Util::getInputBySource(const std::string &filename, bool isProvider)
pid_t Util::startPush(const std::string &streamname, std::string &target){
if (Triggers::shouldTrigger("PUSH_OUT_START", streamname)){
std::string payload = streamname + "\n" + target;
std::string filepath_response;
std::string filepath_response = target;
Triggers::doTrigger("PUSH_OUT_START", payload, streamname.c_str(), false, filepath_response);
target = filepath_response;
}