开发者平台 / 视频管理系统(VMS)/ API功能接口定义 / 直播管理
4.8.12 保存H5配置
接口说明:
名称 | 内容 | |
---|---|---|
URL | https://xxx/tums/live/v1/saveH5Config | |
功能说明 | 保存H5配置 | |
使用限制 | 无 |
请求参数:
参数名称 | 参数描述 | |
---|---|---|
devId String | 设备的ID数组 | |
title String | 标题 | |
streamType short | 清晰度,0:高清,1:流畅 | |
pictureName String | 图片名称 | |
videoDescription String | 视频描述 | |
backgroundColor short | 背景颜色,0:白,1:黑,2:灰 | |
password String | 播放密码 | |
playtime int | 每次播放时间,秒数 | |
playtimeStatus int | 播放时间限制,0为无限制,1为有时间限制 |
返回参数:
参数名称 | 参数描述 | |
---|---|---|
error_code | 返回码,0 – 成功,其他- 失败,具体请参考返回码章节 |
代码示例
https://xxx/tums/live/v1/saveH5Config request: { "devIdList": ["2"], "title": "tplink", "streamType": 0, "pictureName": "2.png", "videoDescription": "demo", "backgroundColor": 0, "password": "123456", "playTime": 600 "playTimeStatus":0 } response: { "error_code": 0 }