/** * Test get method. */ public function testGetMethods() { $running = new RunningBroadcast(1, 2, 44, 'test'); self::assertEquals(1, $running->getBroadcastId()); self::assertEquals(2, $running->getProcessId()); self::assertEquals(44, $running->getChannelId()); self::assertEquals('test', $running->getEnvironment()); }
/** * Stop a monitor stream */ protected function stopMonitorStream() { $this->logger->info('YouTube stop monitor stream', array('broadcast_id' => $this->monitorBroadcast->getBroadcastId())); $this->command->stopProcess($this->monitorBroadcast->getProcessId()); }