OSS\Tests\BucketLiveChannelTest::testLiveChannelHistory PHP Метод

testLiveChannelHistory() публичный Метод

    public function testLiveChannelHistory()
    {
        $channelName = 'live-test-history';
        $config = new LiveChannelConfig(array('description' => 'test live channel info', 'type' => 'HLS', 'fragDuration' => 10, 'fragCount' => 5, 'playListName' => 'hello.m3u8'));
        $this->client->putBucketLiveChannel($this->bucketName, $channelName, $config);
        $history = $this->client->getLiveChannelHistory($this->bucketName, $channelName);
        $this->assertEquals(0, count($history->getLiveRecordList()));
    }