Ejemplo n.º 1
0
 public function testGetRightParams()
 {
     $pullStream = new PullStream();
     $pullStream->setUri('rtpm://test.co');
     $pullStream->setTcUrl(2);
     $pullStream->setLocalStreamName('test stream name');
     $pullStream->setKeepAlive(5);
     $params = $pullStream->getParams();
     $this->assertEquals(4, count($params));
 }