Inheritance: implements OSS\Model\XmlConfig
 /**
  * @return
  */
 protected function parseDataFromResponse()
 {
     $content = $this->rawResponse->body;
     $channelList = new GetLiveChannelStatus();
     $channelList->parseFromXml($content);
     return $channelList;
 }
 public function testLiveChannelStatus()
 {
     $stat = new GetLiveChannelStatus();
     $stat->parseFromXml($this->status);
     $this->assertEquals('Live', $stat->getStatus());
     $this->assertEquals('2016-10-20T14:25:31.000Z', $stat->getConnectedTime());
     $this->assertEquals('10.1.2.4:47745', $stat->getRemoteAddr());
     $this->assertEquals(1280, $stat->getVideoWidth());
     $this->assertEquals(536, $stat->getVideoHeight());
     $this->assertEquals(24, $stat->getVideoFrameRate());
     $this->assertEquals(72513, $stat->getVideoBandwidth());
     $this->assertEquals('H264', $stat->getVideoCodec());
     $this->assertEquals(6519, $stat->getAudioBandwidth());
     $this->assertEquals(44100, $stat->getAudioSampleRate());
     $this->assertEquals('AAC', $stat->getAudioCodec());
 }