getLiveStatus接口有时候会没返回,success 和fail都没有进来
livePlayer.getLiveStatus({ room_id: roomId })
.then(res => {
console.log(res)
// 101: 直播中, 102: 未开始, 103: 已结束, 104: 禁播, 105: 暂停中, 106: 异常,107:已过期
},(err)=>{
console.log(err)
)
.catch(err => {
console.log('get live status', err)
})
这个接口,有时候能返回房间状态,有时候调用了,一点反应都没,也没错误
