本接口用来获取指定LiveChannel的推流记录。
请求语法GET /ChannelName?live&comp=history HTTP/1.1
Date: GMT date
Host: BucketName.oss-cn-hangzhou.aliyuncs.com
Authorization: SignatureValue
响应元素
名称 | 描述 |
LiveChannelHistory | 保存GetLiveChannelHistory返回结果的容器。类型:容器子节点:LiveRecord父节点:无 |
LiveRecord | 保存一次推流记录信息的容器。类型:容器子节点:StartTime,EndTime,RemoteAddr父节点:LiveChannelHistory |
StartTime | 推流开始时间,使用ISO8601格式表示。类型:字符串子节点:无父节点:LiveRecord |
EndTime | 推流结束时间,使用ISO8601格式表示。类型:字符串子节点:无父节点:LiveRecord |
RemoteAddr | 推流客户端的ip地址。类型:字符串子节点:无父节点:LiveRecord |
GET /test-channel?live&comp=history HTTP/1.1
Date: Thu, 25 Aug 2016 07:00:12 GMT
Host: test-bucket.oss-cn-hangzhou.aliyuncs.com
Authorization: OSS YJjHKOKWDWINLKXv:pqgDBP8JXTXAytBoXpvNoZfo68k=
HTTP/1.1 200
content-length: 1892
server: AliyunOSS
connection: close
x-oss-request-id: 57BE977CB92475920B0022FB
date: Thu, 25 Aug 2016 07:00:12 GMT
content-type: application/xml
<?xml version="1.0" encoding="UTF-8"?>
<LiveChannelHistory>
<LiveRecord>
<StartTime>2016-07-30T01:53:21.000Z</StartTime>
<EndTime>2016-07-30T01:53:31.000Z</EndTime>
<RemoteAddr>10.101.194.148:56861</RemoteAddr>
</LiveRecord>
<LiveRecord>
<StartTime>2016-07-30T01:53:35.000Z</StartTime>
<EndTime>2016-07-30T01:53:45.000Z</EndTime>
<RemoteAddr>10.101.194.148:57126</RemoteAddr>
</LiveRecord>
<LiveRecord>
<StartTime>2016-07-30T01:53:49.000Z</StartTime>
<EndTime>2016-07-30T01:53:59.000Z</EndTime>
<RemoteAddr>10.101.194.148:57577</RemoteAddr>
</LiveRecord>
<LiveRecord>
<StartTime>2016-07-30T01:54:04.000Z</StartTime>
<EndTime>2016-07-30T01:54:14.000Z</EndTime>
<RemoteAddr>10.101.194.148:57632</RemoteAddr>
</LiveRecord>
</LiveChannelHistory>
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。