最近更新时间:2022.09.29 17:29:31
首次发布时间:2022.03.29 22:10:12
开启或关闭配置的轮播。
以下请求参数列表仅列出了该接口的部分公共参数,完整公共参数列表见公共请求参数。
参数 | 类型 | 是否必选 | 描述 |
---|---|---|---|
Action | String | 是 | 接口名称 |
Version | String | 是 | 接口版本。直播当前 API 的版本为 2020-06-01 |
参数 | 类型 | 是否必选 | 描述 |
---|---|---|---|
ActivityId | Int64 | 是 | 直播间 ID |
IsStartLoopVideo | Int32 | 是 | 轮播开关操作。支持以下两种取值。
|
LineId | Int64 | 是 | 直播流线路 ID |
参数 | 类型 | 描述 |
---|---|---|
Status | Bool | 轮播开关操作是否成功 |
POST http://livesaas.volcengineapi.com/?Action=UpdateLoopVideoStatusAPI&Version=2020-06-01 { "ActivityId":732412312, "IsStartLoopVideo": 1, "LineId": 123 }
{ "ResponseMetadata":{ "RequestId":"201806041104200100100232280022D30", "Action":"UpdateLoopVideoStatusAPI", "Version":"2020-06-01", "Service":"livesaas", "Region":"cn-north-1", "SystemTime":1656067132 } "Result":{ "Status":true } }
{ "ResponseMetadata":{ "RequestId":"201806041104200100100232280022D30", "Action":"UpdateLoopVideoStatusAPI", "Version":"2020-06-01", "Service":"livesaas", "Region":"cn-north-1", "SystemTime":1656067132, "Error":{ "Code":"200000", "Message":"参数异常" } } }
访问公共错误码获取详细信息。