添加会中监控任务

添加会中监控 *只有特定客户可以使用

1. 接口描述

接口名称:

/eventopenapi/event/stream/monitor/add

发送方式:

POST

参数格式:

accept: application/json;content-type: application/json

2. 输入参数

Http Header

参数名 必选 类型 说明
token 接口调用鉴权参数 也可以放在http body中

Http Body

参数名 必选 类型 说明
eventId int 全时会议ID
tempConferenceId string 临时会议ID
userList array 订阅列表

userList 参数说明

参数名 必选 类型 说明
tempUserId string 临时用户ID
pushUrl string 推流地址
secretKey string 推流秘钥

请求示例

传参示例

{
    "eventId" : 88415897,
    "tempConferenceId":"987"
    "userList":[
        {
            "tempUserId":"1",
            "pushUrl":"rtmp://live-push-test.quanshi.com/forward/123",
            "secretKey":"434532"
        },
        {
            "tempUserId":"2",
            "pushUrl":"rtmp://live-push-test.quanshi.com/forward/34",
            "secretKey":"434532"
        }
    ]

}

3. 返回参数

参数名 类型 说明
code int 200:成功
msg string 消息
data Array 数据内容
requestId string 请求ID
参数名 类型 说明
tempUserId string 会中临时用户ID
taskId string 任务ID

返回示例

{
    "code": 200,
    "msg": "success",
    "data":[
        {
            "tempUserId":"1",
            "taskId":"uuid"
        },
        {
            "tempUserId":"2",
            "taskId":"uuid"
        }
    ]
    "timeStamp": 1654581754054,
    "requestId": "58.322906ms"
}

备注

  • 更多返回错误代码请看首页的错误代码描述