Make RTMP videos work in stream mode (fixes #104)
This commit is contained in:
parent
d2ad962f6f
commit
fb3834296a
4 changed files with 68 additions and 1 deletions
|
@ -344,6 +344,21 @@ class FrontControllerTest extends \PHPUnit_Framework_TestCase
|
|||
$this->assertTrue($result->isOk());
|
||||
}
|
||||
|
||||
/**
|
||||
* Test the redirect() function with an RTMP stream.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function testRedirectWithRtmpStream()
|
||||
{
|
||||
$controller = new FrontController($this->container, new Config(['stream'=>true]));
|
||||
$result = $controller->redirect(
|
||||
$this->request->withQueryParams(['url'=>'http://www.rtl2.de/sendung/grip-das-motormagazin/folge/folge-203-0']),
|
||||
$this->response
|
||||
);
|
||||
$this->assertTrue($result->isOk());
|
||||
}
|
||||
|
||||
/**
|
||||
* Test the redirect() function with a missing password.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue