多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
+++ post:v001/Mike/upDown *varchar:token#签名 *int:lid#直播ID <<< 请求成功 { "data": { "message": "上麦成功", "status": "1", "rtmp": "rtmp://22824.livepush.myqcloud.com/live/22824_5ad593ab_s_1?bizid=22824&txSecret=856dc8e40f78738a2ccb6a333259efdf&txTime=5ad73778", "myurl": "rtmp://22824.liveplay.myqcloud.com/live/22824_5ad593ab_s_1?bizid=22824&txSecret=856dc8e40f78738a2ccb6a333259efdf&txTime=5ad73778" }, "code": 200, "time": 1666666666, "content": { "token": "AThQY1U+AWUIYwBnUWUCb1w0AjAAZQ", "lid": "1" } } <<< 登录超时 { "data": { "message": "登录超时、请重新登录" }, "code": 300, "time": 1666666666, "content": { "token": "AThQY1U+AWUIYwBnUWUCb1w0AjAAZQ", "lid": "1" } } <<< 验证失败 { "data": { "message": "token不能为空" }, "code": 400, "time": 1666666666, "content": { "token": "AThQY1U+AWUIYwBnUWUCb1w0AjAAZQ", "lid": "1" } } <<< 非法请求 { "data": { "message": "请求错误" }, "code": 500, "time": 1666666666, "content": { "token": "AThQY1U+AWUIYwBnUWUCb1w0AjAAZQ", "lid": "1" } } +++ #### 请求成功 data[]返回数据说明 | 字段名 | 描述 | 备注 | | --- | --- | --- | | message | 提示信息 | | | status | 上麦状态 | 1:准备上麦2:已经下麦 | | rtmp | 累计观看 | | | myurl | 视频评分 | |