You need to enable JavaScript to run this app.
导航

慢直播媒体处理应用列表

最近更新时间2023.02.02 18:42:57

首次发布时间2022.08.19 18:13:11

查询当前账号下已添加的所有慢直播媒体处理应用信息。

请求方式

使用 GET 方式发起请求。

请求参数

下表仅列出了接口特有的请求参数和部分公共参数。完整的公共参数列表,参考「公共参数」。

字段
位置
类型
必填
说明
ActionQueryString公共参数,OpenAPI 接口名称ListSlowLive
VersionQueryString公共参数,OpenAPI 接口版本2021-01-01

返回结果

返回参数说明

通用返回参数,请参考 ResponseMetadata 结构体说明

Result 字段包含以下参数:

字段
类型
说明
SlowLiveStreamingsArray of objects查询到的慢直播媒体处理应用列表,参考以下 慢直播媒体处理应用数据结构

慢直播媒体处理应用数据结构说明

字段
类型
说明
NameString时间戳
IDString带宽/流量值
RelatedSpacesList<String>关联空间 ID 列表
MergingModeString合流模式(目前仅支持单屏)
OutputResolutionString输出分辨率
OutputFrameRateInt输出帧率,单位:fps
OutputEncodingString输出编码
CreateTimestampTimestamp创建时间
PreviousClosedTimestampTimestamp上次关闭时间
FinishTimestampTimestamp计划结束时间

Status

String

状态:

  • 已创建
  • 启动中
  • 运行中
  • 已停止
EnablePushingStreamBoolean是否推流
ConfigArray of objects视频流播放配置,参考以下 视频流播放配置结构说明
AccountIDString账号 ID
ObsEndpointString

视频流播放配置结构说明

字段
类型
说明
EnableRollingBoolean是否开启视频流轮播功能
RollingIntervalInt轮播时间间隔(秒)
StreamListList<String>视频流列表

示例

请求示例

GET https://open.volcengineapi.com?Action=ListSlowLive
&Version=2021-01-01
&<公共请求参数>

返回示例

{
    "ResponseMetadata": {
        "RequestId": "2022080215261401021213814425C9BAAA",
        "Action": "ListSlowLive",
        "Version": "2021-01-01",
        "Service": "aiotvideo",
        "Region": "cn-north-1"
    },
    "Result": {
        "PageNumber": 1,
        "PageSize": 20,
        "TotalCount": 2,
        "SlowLiveStreamings": [
            {
                "ID": "slowlive:676e465b-4575-4464-ad48-ae8c48xxxxxx",
                "RelatedSpaces": [
                    "517ff7ec-7700-4862-b1e7-7967a4xxxxxx"
                ],
                "Name": "new-test",
                "MergingMode": "单屏",
                "OutputResolution": "720*1280",
                "OutputFrameRate": 25,
                "OutputEncoding": "H264",
                "CreateTimestamp": 1658966055,
                "PreviousClosedTimestamp": 0,
                "FinishTimestamp": 0,
                "Status": "运行中",
                "EnablePushingStream": null,
                "Config": {
                    "EnableRolling": true,
                    "RollingInterval": 15,
                    "StreamList": null
                },
                "AccountID": "2100xxxxxx",
                "ObsEndpoint": "10.xx.xx.xx:xxxx"
            },
            {
                "ID": "slowlive:8a2bced1-bd96-4d45-a216-a6a69bxxxxxx",
                "RelatedSpaces": [
                    "517ff7ec-7700-4862-b1e7-7967a4xxxxxx"
                ],
                "Name": "112",
                "MergingMode": "单屏",
                "OutputResolution": "540*960",
                "OutputFrameRate": 25,
                "OutputEncoding": "H264",
                "CreateTimestamp": 1657004722,
                "PreviousClosedTimestamp": 1658893815,
                "FinishTimestamp": 0,
                "Status": "运行中",
                "EnablePushingStream": null,
                "Config": {
                    "EnableRolling": true,
                    "RollingInterval": 15,
                    "StreamList": null
                },
                "AccountID": "2100xxxxxx",
                "ObsEndpoint": "10.xx.xx.xx:xxxx"
            }
        ]
    }
}