Use ffmpeg instead of rtmpdump
This commit is contained in:
parent
7940446af3
commit
f8c8935b4c
11 changed files with 57 additions and 122 deletions
|
@ -62,7 +62,6 @@ class ConfigTest extends TestCase
|
|||
$this->assertInternalType('string', $config->youtubedl);
|
||||
$this->assertInternalType('string', $config->python);
|
||||
$this->assertInternalType('string', $config->avconv);
|
||||
$this->assertInternalType('string', $config->rtmpdump);
|
||||
$this->assertInternalType('bool', $config->convert);
|
||||
$this->assertInternalType('bool', $config->uglyUrls);
|
||||
$this->assertInternalType('bool', $config->stream);
|
||||
|
|
|
@ -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.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue