Skip to content

Commit

Permalink
Update StreamServiceProvider.php
Browse files Browse the repository at this point in the history
  • Loading branch information
imanghafoori1 authored Feb 15, 2020
1 parent 8d33b11 commit 141b57e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/StreamServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public function register()
Response::macro('streamVideoFile', function ($filePath) {
return response()->stream(function () use ($filePath) {
$stream = new VideoStreamer($filePath);
$stream->start();
return $stream->start();
});
});
}
Expand Down

0 comments on commit 141b57e

Please sign in to comment.