Remove dependency on curl (fixes #105)
avconv/ffmpeg now downloads the video directly when converting
This commit is contained in:
parent
b9aad26803
commit
b80b9c7b2e
7 changed files with 34 additions and 72 deletions
|
@ -350,11 +350,11 @@ class VideoDownloadTest extends \PHPUnit_Framework_TestCase
|
|||
*
|
||||
* @return void
|
||||
* @expectedException Exception
|
||||
* @dataProvider urlProvider
|
||||
* @dataProvider rtmpUrlProvider
|
||||
*/
|
||||
public function testGetAudioStreamCurlError($url, $format)
|
||||
public function testGetAudioStreamRtmpError($url, $format)
|
||||
{
|
||||
$download = new VideoDownload(new Config(['curl'=>'foobar', 'rtmpdump'=>'foobar']));
|
||||
$download = new VideoDownload(new Config(['rtmpdump'=>'foobar']));
|
||||
$download->getAudioStream($url, $format);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue