pusher.start没有任何回调
onReady: function () { pusher = wx.createLivePusherContext(); },
start_push: function(){ if(is_first){ pusher.resume({ success: e=>{ this.setData({ is_push: true }) } }); }else{ pusher.start({ success: function(e) { console.log(e) this.setData({ is_push: true }) }, fail: function (e){ console.log(e) }, complete: function (e){ console.log(e) } }); } }, |
这是我的开始推流代码,调用pusher.star后,
console.log()没有任何反应。求助官方人员
