文档

0026-00000021

更新时间:

问题描述

请求指定的LiveChannel不存在。

问题原因

您发起了对LiveChannel的访问请求,但是您在请求中指定的LiveChannel不存在。可能是因为请求中指定的LiveChannel名称有误,也有可能是因为该LiveChannel没有创建成功或已经被删除。

问题示例

比如您发起了GetLiveChannelInfo请求:

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 YJjHKOKWDWIN****:D6bDCRXKht58hin1BL83wxyG****

如果上述请求中的test-channel不存在,就会导致该错误。

解决方案

请确保目标LiveChannel成功创建,您可以通过PutLiveChannel接口进行创建:

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>

相关文档

  • 本页导读 (1)
文档反馈