添加会中监控任务
添加会中监控 *只有特定客户可以使用
1. 接口描述
接口名称:
/eventopenapi/event/stream/audit/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 | 是 | Long | 临时用户ID | 
| subscribeType | 是 | int | 订阅类型 1:视频 2:共享 3:音频 | 
| pushUrl | 是 | string | 推流地址 | 
| secretKey | 是 | string | 推流秘钥 | 
请求示例
传参示例
{
    "eventId" : 88415897,
    "tempConferenceId":"987"
    "userList":[
        {
            "tempUserId":1,
            "pushUrl":"rtmp://live-push-test.quanshi.com/forward/123",
            "secretKey":"434532",
            "subscribeType":1
        },
        {
            "tempUserId":2,
            "pushUrl":"rtmp://live-push-test.quanshi.com/forward/34",
            "secretKey":"434532",
            "subscribeType":2
        },
        {
            "tempUserId":0,
            "pushUrl":"rtmp://live-push-test.quanshi.com/forward/34",
            "secretKey":"434532",
            "subscribeType":3
        }
    ]
}
3. 返回参数
| 参数名 | 类型 | 说明 | 
|---|---|---|
| code | int | 200:成功 | 
| msg | string | 消息 | 
| data | Array | 数据内容 | 
| requestId | string | 请求ID | 
| 参数名 | 类型 | 说明 | 
|---|---|---|
| eventId | Long | 预约会议ID | 
| tempConferenceId | string | 会中临时用户ID | 
| subscribeList | JSONArray | 任务ID | 
subscribeList
| 参数名 | 类型 | 说明 | 
|---|---|---|
| tempUserId | Long | 临时用户ID | 
| taskId | string | 任务ID | 
| subscribeType | int | 订阅类型 1:视频 2:共享 3:音频 | 
| pushStatus | int | 推流状态 0:推流任务已提交创建 1:推流开始 2:推流结束 | 
| pushUrl | string | 推流地址 | 
| updateTime | string | 任务最后更新时间 | 
| createTime | string | 任务创建时间 | 
返回示例
{
    "code": 200,
    "msg": "success",
    "data":{
        "eventId" : 88415897,
        "tempConferenceId":"987",
        "subscribeList":[
            {
                "tempUserId":1,
                "taskId":"uuid",
                "subscribeType":1,
                "pushStatus": 0,
                "pushUrl": "rtmp://live-pushm:1937/forward/",
                "updateTime": "2025-06-27 09:20:25",
                "createTime": "2025-06-27 09:20:25"
            },
            {
                "tempUserId":2,
                "taskId":"uuid",
                "subscribeType":2,
                "pushStatus": 0,
                "pushUrl": "rtmp://live-pushm:1937/forward/",
                "updateTime": "2025-06-27 09:20:25",
                "createTime": "2025-06-27 09:20:25"
            },
            {
                "tempUserId":0,
                "taskId":"uuid",
                "subscribeType":3,
                "pushStatus": 0,
                "pushUrl": "rtmp://live-pushm:1937/forward/",
                "updateTime": "2025-06-27 09:20:25",
                "createTime": "2025-06-27 09:20:25"
            }
        ]
    }
    "timeStamp": 1654581754054,
    "requestId": "58.322906ms"
}
备注
- 更多返回错误代码请看首页的错误代码描述


