💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
+++ post:v001/Live/start *varchar:token#签名 *varchar:name#直播名称 *int:bid#背景ID *int:gid#分组ID *int:price#直播价格 <<< 请求成功 { "data": { "uid": 1, "lid": "25", "channel": "5acddb85", "name": "test", "push": "rtmp://5853.livepush.myqcloud.com/live/5853_5acddb85_m_1?bizid=5853&txSecret=d8026119d7ce349a2c3811dcf5f183c5&txTime=5acddcb1", "play": "rtmp://5853.liveplay.myqcloud.com/live/5853_5acddb85_m_1?bizid=5853&txSecret=d8026119d7ce349a2c3811dcf5f183c5&txTime=5acddcb1", "message": "培训开启成功,上麦成功" }, "code": 200, "time": 1666666666, "content": { "token": "AThQY1U+AWUIYwBnUWUCb1w0AjAAZQ", "price": "1", "name": "test", "gid": "2", "bid": "1" } } <<< 登录超时 { "data": { "message": "登录超时、请重新登录" }, "code": 300, "time": 1666666666, "content": { "token": "AThQY1U+AWUIYwBnUWUCb1w0AjAAZQ", "price": "1", "name": "test", "gid": "2", "bid": "1" } } <<< 验证失败 { "data": { "message": "token不能为空" }, "code": 400, "time": 1666666666, "content": { "token": "AThQY1U+AWUIYwBnUWUCb1w0AjAAZQ", "price": "1", "name": "test", "gid": "2", "bid": "1" } } <<< 非法请求 { "data": { "message": "请求错误" }, "code": 500, "time": 1666666666, "content": { "token": "AThQY1U+AWUIYwBnUWUCb1w0AjAAZQ", "price": "1", "name": "test", "gid": "2", "bid": "1" } } +++ #### 请求成功 data['lists']返回数据说明 | 字段名 | 描述 | 备注 | | --- | --- | --- | | uid | 用户ID | | | lid | 直播ID | | | channel | 房间编号 | | | push | 推流地址 | | | play | 播放地址 | | | message | 提示信息 | |