Remove dependency on curl (fixes #105)

avconv/ffmpeg now downloads the video directly when converting
This commit is contained in:
Pierre Rudloff 2017-04-24 19:16:38 +02:00
parent b9aad26803
commit b80b9c7b2e
7 changed files with 34 additions and 72 deletions

View file

@ -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);
}