Fixed general output shutdown behaviour and logging on end of stream, MP4 output now correctly ends HTTP response on stream end.
Bugfix in HTTP::Parser when calling Chunkify before initializing
This commit is contained in:
parent
9c71b25c06
commit
dc0cd0d451
4 changed files with 13 additions and 7 deletions
|
@ -1307,7 +1307,7 @@ namespace Mist{
|
|||
}
|
||||
sendNext();
|
||||
}else{
|
||||
Util::logExitReason("end of stream");
|
||||
parseData = false;
|
||||
/*LTS-START*/
|
||||
if (Triggers::shouldTrigger("CONN_STOP", streamName)){
|
||||
std::string payload =
|
||||
|
@ -1315,7 +1315,10 @@ namespace Mist{
|
|||
Triggers::doTrigger("CONN_STOP", payload, streamName);
|
||||
}
|
||||
/*LTS-END*/
|
||||
if (!onFinish()){break;}
|
||||
if (!onFinish()){
|
||||
Util::logExitReason("end of stream");
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (!meta){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue