CreateLiveRecordSliceFile_低代码音视频工厂_API文档

插件下载了解更多
VS Code 插件
安装插件之前,确保已安装 VS Code安装插件之前,确保已安装 VS Code
Alibaba Cloud Developer Toolkit is a collection of extensions that can help access Alibaba Cloud services in Visual Studio Code.
JetBrains 插件
安装插件之前,确保已安装 JetBrains IDE安装插件之前,确保已安装 JetBrains IDE
The Alibaba Cloud Developer Toolkit for JetBrains makes it easier to access Alibaba Cloud services.

流控信息

当前云产品API请求速率暂未透出。

授权信息

如下是此API对应的授权信息,用于RAM权限策略语句的Action元素中,为RAM用户或RAM角色授予调用此API的权限。请通过 RAM 访问控制设置,使用方法可参考访问控制帮助文档

具体说明如下:展开详情

操作访问级别资源类型条件关键字关联操作
imp:CreateLiveRecordSliceFile
全部资源
*

请求参数

字段名称字段详情
AppIdstring

应用唯一标识,由 6 位小写字母、数字组成。

示例值:lq****cu
LiveIdstring

直播 ID。

示例值:AE35****T95F参考取值来源:
    CreateLive
    PublishLive
    ListLiveRooms
StartTimeinteger<int64>

片段开始时间,时间戳,单位为毫秒。

注意 该字段类型为 Long,在序列化/反序列化的过程中可能导致精度丢失,请注意数值不得大于 9007199254740991。
示例值:1577836800000
EndTimeinteger<int64>

片段结束时间,时间戳,单位为毫秒。

注意 该字段类型为 Long,在序列化/反序列化的过程中可能导致精度丢失,请注意数值不得大于 9007199254740991。
示例值:1577836800000
FileNamestring

自定义文件名称。

示例值:sliceFile参考取值来源:
    ListLiveFiles

返回参数

字段名称字段详情
RequestIdstring

请求 ID。

示例值:ER52****O9CA
Resultobject

创建场景化直播返回的结果。

返回示例

错误码

全局错误码
HTTP 状态码错误码错误信息操作
400
Invalid.Live.RecordContentExceed
The record content between StartTime and EndTime is exceeded, please narrow down the range.诊断
400
Invalid.Live.RecordContentTooShort
The record time between StartTime and EndTime is too short, please enlarger the range.诊断
400
Invalid.Live.RecordEndTimeMismatch
Specified end time does not math the specified start time.诊断
400
Invalid.Live.RecordInvalidBucket
The oss bucket is invalid.诊断
400
Invalid.Live.RecordLiveNotFound
The live is not found.诊断
400
Invalid.Live.RecordLiveStreamNotFound
The live stream info is not found.诊断
400
Invalid.Live.RecordNoContent
The record has no content, please check the live record toggle.诊断
400
Invalid.Live.RecordPlaybackDomainNotFound
The record playback domain is not found, please open the liveRecordToggle in imp console and config playback domain.诊断
400
Invalid.Live.WrongRecordOssConfig
Specified oss config is wrong.诊断
400
Invalid.Scene.LiveNotExist
The live record does not exist. Please check again.诊断

变更历史

变更时间变更内容概要操作
2022-07-19
变更请求参数StartTime
变更请求参数EndTime
2022-07-05
新增OpenAPI,创建直播录制片段文件

相关示例