let livePlayer = requirePlugin('live-player-plugin')
// 获取直播间单次订阅状态
const roomId = xxx // 房间 id
livePlayer.getSubscribeStatus({ room_id: roomId })
.then(res => {
console.log('房间号:', res.room_id)
console.log('订阅用户openid', res.openid)
console.log('是否订阅', res.is_subscribe)
}).catch(err => {
console.log('get subscribe status', err)
})
调用该组件后,传入直播间房间号,是否订阅的值一直是false,订阅后调用该组件还是返回false