Use ffmpeg instead of rtmpdump

This commit is contained in:
Pierre Rudloff 2017-12-23 15:14:43 +01:00
parent 7940446af3
commit f8c8935b4c
11 changed files with 57 additions and 122 deletions

View file

@ -385,23 +385,6 @@ class VideoDownloadTest extends TestCase
$download->getAudioStream($url, $format);
}
/**
* Test getAudioStream function without curl or rtmpdump.
*
* @param string $url URL
* @param string $format Format
*
* @return void
* @expectedException Exception
* @dataProvider rtmpUrlProvider
*/
public function testGetAudioStreamRtmpError($url, $format)
{
$this->config->rtmpdump = 'foobar';
$download = new VideoDownload($this->config);
$download->getAudioStream($url, $format);
}
/**
* Test getAudioStream function with a M3U8 file.
*