mehrdad-dadkhah/stream-to-download

send data chunk to client for download it

1.0.1 2017-08-19 11:13 UTC

This package is auto-updated.

Last update: 2024-12-22 18:57:20 UTC


README

Software License Packagist Version

Send data chunk to client for download it

Installation

composer require mehrdad-dadkhah/stream-to-download

Usage

use MehrdadDadkhah\Video\StreamToDownload;

$streamToDownload = new StreamToDownload();
$streamToDownload->downloadFile('path-or-url-to-file.mp4', 'output-file-name.mp4');

License

hls-video-generater is licensed under the GPLv3 License.