获取推流信息
API 地址
api.yun.vhall.com/api/v1/room/get-push-info
描述
微吼云房间支持使用第三方推流工具推流,通过接口可以获取推流地址
入参
关于公共请求参数详细内容,请参考 公共请求参数。
参数 | 类型 | 是否必选 | 含义 |
---|---|---|---|
room_id | string | 是 | 房间ID |
expire_time | string | 是 | 过期时间, 格式: 2017/01/01 00:00:00 |
出参
参数 | 类型 | 是否必选 | 含义 |
---|---|---|---|
stream_number | string | 是 | 直播码 |
push_address | string | 是 | 推流地址信息 |
错误码
错误码 | 类型 | 含义 |
---|---|---|
10026 | int | 过期时间不能为空 |
20002 | int | 房间查询为空 |
30001 | int | 不是当前房间拥有者 |
40004 | int | 时间类型不正确 |
响应格式
{
"code": 200,
"msg": "",
"data": {
"stream_number": "lss_75ba2dcf",
"push_address": "rtmp://t-open-push.live.vhou.net:1935/vhall?vhost=indexVhost?token=3D93913Dt24FA1?webinar_id=lss_75ba2dcf?ismix=0?mixserver=?accesstoken=vhall"
}
}