0026-00000021

更新时间:
复制 MD 格式

Description

The specified LiveChannel does not exist.

Cause

This error occurs when you send a request to access a LiveChannel that does not exist. This fault can occur if the channel name in the request is incorrect, the channel was not created, or the channel has been deleted.

Example problem

The following example shows a GetLiveChannelInfo request:

GET /test-channel?live HTTP/1.1
Date: Thu, 25 Aug 2016 05:52:40 GMT
Host: test-bucket.oss-cn-hangzhou.aliyuncs.com
Authorization: OSS qn6q**************:77Dv****************

If the test-channel does not exist, this fault occurs.

Solution

Ensure that the target LiveChannel exists. You can use the PutLiveChannel operation to create a channel:

PUT /ChannelName?live HTTP/1.1
Host: bucketname.oss-cn-hangzhou.aliyuncs.com
Date: GMT date
Content-Length: Size
Authorization: SignatureValue
<?xml version="1.0" encoding="UTF-8"?>
<LiveChannelConfiguration>
  <Description>ChannelDescription</Description>
  <Status>ChannelStatus</Status>
  <Target>
     <Type>HLS</Type>
     <FragDuration>FragDuration</FragDuration>
     <FragCount>FragCount</FragCount>
     <PlaylistName>PlaylistName</PlaylistName>
  </Target>
</LiveChannelConfiguration>

References