You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+10-2Lines changed: 10 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -58,14 +58,20 @@ require 'vendor/autoload.php'; // path to the autoload file
58
58
This package will autodetect FFmpeg and FFprobe binaries. If you want to give binary paths explicitly, you can pass an array as configuration. A Psr\Logger\LoggerInterface can also be passed to log binary executions.
59
59
60
60
```php
61
+
use Monolog\Handler\StreamHandler;
62
+
use Monolog\Logger;
63
+
61
64
$config = [
62
65
'ffmpeg.binaries' => '/usr/bin/ffmpeg',
63
66
'ffprobe.binaries' => '/usr/bin/ffprobe',
64
67
'timeout' => 3600, // The timeout for the underlying process
65
68
'ffmpeg.threads' => 12, // The number of threads that FFmpeg should use
66
69
];
70
+
71
+
$log = new Logger('FFmpeg_Streaming');
72
+
$log->pushHandler(new StreamHandler('/var/log/ffmpeg-streaming.log')); // path to log file
- **[VLC media player](https://github.com/videolan/vlc)**
307
313
314
+
As you may know, **[IOS](https://www.apple.com/ios)** does not have native support for DASH. Although there are some libraries such as **[Viblast](https://github.com/Viblast/ios-player-sdk)** and **[MPEGDASH-iOS-Player](https://github.com/MPEGDASHPlayer/MPEGDASH-iOS-Player)** to support this technique, I have never tested them. So if you know any IOS player that supports DASH Stream and also works fine, please add it to the above list.
315
+
308
316
**NOTE:** You should pass a manifest of stream(e.g. `https://www.aminyazdanpanah.com/PATH_TO_STREAM_DIRECTORY/dash-stream.mpd` or `/PATH_TO_STREAM_DIRECTORY/hls-stream.m3u8` ) to these players.
0 commit comments