fixup! feat: Add support for HTTP range requests when stream mode is enabled

This commit is contained in:
Pierre Rudloff 2018-09-18 18:52:56 +02:00
parent 4cbc21de46
commit ecd5bf306a

View file

@ -427,7 +427,7 @@ class FrontController
$video->url,
[
'stream' => true,
'headers' => ['Range' => $request->getHeader('Range')]
'headers' => ['Range' => $request->getHeader('Range')],
]
);
$response = $response->withHeader('Content-Type', $stream->getHeader('Content-Type'));