Some HLS streams have "m3u8_native" as protocol value (see #133)
This commit is contained in:
parent
aea9b47370
commit
095c1a92f0
1 changed files with 1 additions and 1 deletions
|
@ -360,7 +360,7 @@ class FrontController
|
|||
$stream = $this->download->getRtmpStream($video);
|
||||
$response = $response->withHeader('Content-Type', 'video/'.$video->ext);
|
||||
$body = new Stream($stream);
|
||||
} elseif ($video->protocol == 'm3u8') {
|
||||
} elseif ($video->protocol == 'm3u8' || $video->protocol == 'm3u8_native') {
|
||||
$stream = $this->download->getM3uStream($video);
|
||||
$response = $response->withHeader('Content-Type', 'video/'.$video->ext);
|
||||
$body = new Stream($stream);
|
||||
|
|
Loading…
Reference in a new issue