public function getLiveChannelStatus($bucket, $channelName, $options = NULL)
    {
        $this->precheckCommon($bucket, NULL, $options, false);
        $options[self::OSS_BUCKET] = $bucket;
        $options[self::OSS_METHOD] = self::OSS_HTTP_GET;
        $options[self::OSS_OBJECT] = $channelName;
        $options[self::OSS_SUB_RESOURCE] = 'live';
        $options[self::OSS_COMP] = 'stat';
      
        $response = $this->auth($options);
        $result = new GetLiveChannelStatusResult($response);
        return $result->getData();
    }
public function getLiveChannelStatus($bucket, $channelName, $options = NULL)
    {
        $this->precheckCommon($bucket, NULL, $options, false);
        $options[self::OSS_BUCKET] = $bucket;
        $options[self::OSS_METHOD] = self::OSS_HTTP_GET;
        $options[self::OSS_OBJECT] = $channelName;
        $options[self::OSS_SUB_RESOURCE] = 'live';
        $options[self::OSS_COMP] = 'stat';
      
        $response = $this->auth($options);
        $result = new GetLiveChannelStatusResult($response);
        return $result->getData();
    }
public function getLiveChannelStatus ( $ bucket , $ channelName , $ options = NULL ) { $ this -> precheckCommon ( $ bucket , NULL , $ options , false ) ; $ options [ self :: OSS_BUCKET ] = $ bucket ; $ options [ self :: OSS_METHOD ] = self :: OSS_HTTP_GET ; $ options [ self :: OSS_OBJECT ] = $ channelName ; $ options [ self :: OSS_SUB_RESOURCE ] = 'live' ; $ options [ self :: OSS_COMP ] = 'stat' ; $ response = $ this -> auth ( $ options ) ; $ result = new GetLiveChannelStatusResult ( $ response ) ; return $ result -> getData ( ) ; }
Gets the status of LiveChannel

@param string $bucket bucket name
@param string channelName $channelName
@param array $options
@throws OssException
@return GetLiveChannelStatus
Gets the status of LiveChannel