更新时间:2024-12-25 GMT+08:00

API概览

媒体直播服务对应的接口列表如下所示,在调用媒体直播API前,您需要先获取用户Token,Token可以用于调用其他API时鉴权,具体如何调用媒体直播API请参考应用示例

OTT频道管理接口

表1 OTT频道管理接口

接口

说明

POST /v1/{project_id}/ott/channels

新建OTT频道

GET /v1/{project_id}/ott/channels

查询频道信息

DELETE /v1/{project_id}/ott/channels

删除频道信息

PUT /v1/{project_id}/ott/channels/endpoints

修改频道打包信息

PUT /v1/{project_id}/ott/channels/input

修改频道入流信息

PUT /v1/{project_id}/ott/channels/record-settings

修改频道录制信息

PUT /v1/{project_id}/ott/channels/general

修改频道通用信息

PUT /v1/{project_id}/ott/channels/state

修改频道状态

PUT /v1/{project_id}/ott/channels/encorder-settings

修改频道转码模板信息