💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
+++ post:v001/Live/launch *varchar:token#签名 *int:llid#课程ID *int:status#操作状态1:开播、2:结束 <<< 请求成功 { "data": { "llid": "1", "rtmp": "rtmp://5853.livepush.myqcloud.com/live/5853_100000-59bf7148?bizid=5853&txSecret=af8badad1f56732cb9b133bae23a0ebb&txTime=59c0c2c8", "channel": "100086-59c8cbf6", "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" }, }, "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[]返回数据说明 | 字段名 | 描述 | 备注 | | --- | --- | --- | | llid | 房间号 | | | rtmp | 推流地址 | | | channel | IM编码 | | | info | 房间信息 | | #### 请求成功 data['info']返回数据说明 | 字段名 | 描述 | 备注 | | --- | --- | --- | | name | 课程名称 | | | start_time | 开播时间 | | | end_time | 结束时间 | | | share | 分享状态 | v004新增 | | view | 课件状态 | v004新增 | | number | 限定人数 | | | volume | 是否考试 | | | click | 观看人数 | | | introduction | 课程简介 | | | annex | 课件 | | | nickname | 讲师名称 | | | avatar | 讲师头像 | | | play | 直播时长 | v004新增 |