企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
+++ post:v001/Live/enter *varchar:token#签名 *int:llid#课程ID *int:status#操作状态1:进入、2:离开 varchar:password#直播密码 <<< 请求成功 { "data": { "url": [ "rtmp://5853.liveplay.myqcloud.com/live/5853_100000-59bf7148", "https://5853.liveplay.myqcloud.com/live/5853_100000-59bf7148.flv", "https://5853.liveplay.myqcloud.com/live/5853_100000-59bf7148.m3u8" ], "info": { "name": "培训", "start_time": "09:00:00", "end_time": "18:00:00", "share": 1, "view": 1, "number": 10, "volume": 0, "click": 5, "introduction": "培训哦", "annex":"[ http://192.168.1.111:8083/avatar.png, http://192.168.1.111:8083/avatar.png ]", "nickname": "测试用户1", "avatar": "http://192.168.1.111:8083/avatar.png", "play": "00:01:22" }, "channel": "100086-59c8cbf6", "message": "进入课堂" }, "code": 200, "time": 1505441278, "content": { "token": "AThQY1U+AWUIYwBnUWUCb1w0AjAAZQ", "llid": "1", "status": "1" } } <<< 登录超时 { "data": { "message": "登录超时、请重新登录" }, "code": 300, "time": 1666666666, "content": { "token": "AThQY1U+AWUIYwBnUWUCb1w0AjAAZQ", "llid": "1", "status": "1" } } <<< 验证失败 { "data": { "message": "token不能为空" }, "code": 400, "time": 1666666666, "content": { "token": "AThQY1U+AWUIYwBnUWUCb1w0AjAAZQ", "llid": "1", "status": "1" } } <<< 非法请求 { "data": { "message": "请求错误" }, "code": 500, "time": 1666666666, "content": { "token": "AThQY1U+AWUIYwBnUWUCb1w0AjAAZQ", "llid": "1", "status": "1" } } +++ #### 请求成功 data[]返回数据说明 | 字段名 | 描述 | 备注 | | --- | --- | --- | | url | 播放地址 | | | info | 房间信息 | | | channel | IM编码 | | | message | 提示消息 | | #### 请求成功 data['info']返回数据说明 | 字段名 | 描述 | 备注 | | --- | --- | --- | | name | 课程名称 | | | start_time | 开播时间 | | | end_time | 结束时间 | | | share | 分享状态 | v004新增 | | view | 课件状态 | v004新增 | | number | 限定人数 | | | volume | 是否考试 | | | click | 观看人数 | | | introduction | 课程简介 | | | annex | 课件 | | | nickname | 讲师名称 | | | avatar | 讲师头像 | | | play | 直播时长 | v004新增 |