Merge branch 'develop' into feature/stream
This commit is contained in:
commit
6ef3105f89
1 changed files with 4 additions and 1 deletions
|
@ -195,7 +195,10 @@ class FrontController
|
|||
);
|
||||
$chain->add('|', $avconvProc);
|
||||
}
|
||||
return $response->withBody(new PopenStream($chain->getProcess()->getCommandLine()));
|
||||
if ($request->isGet()) {
|
||||
$response = $response->withBody(new PopenStream($chain->getProcess()->getCommandLine()));
|
||||
}
|
||||
return $response;
|
||||
}
|
||||
} catch (\Exception $e) {
|
||||
$error = $e->getMessage();
|
||||
|
|
Loading…
Reference in a new issue