live-pusher安卓手机提推流失败,iOS可以

微信小程序,微信公开课,live-pusher安卓手机提推流失败,iOS可以 微信公开课

微信公开课小程序热门讨论关于「live-pusher安卓手机提推流失败,iOS可以」的小程序开发问题
补充:livepusher安卓手机提推流失败,iOS可以
展开:当前Bug的表现预期表现复现路径提供一个最简复现Demowxml:<livepusherid=livePusherurl={{pushUrl}}mode=RTCbindstatechange=pusherStateChangebinderror=onPushErrorenablecamera={{false}}beauty=6class=invisible<livepusherjs:onReady:function(){consolelog(onready)varself=this;thiscreatePushContext(self);thiscreatePlayContext(self);wxsetKeepScreenOn({keepScreenOn:true,})},初始化推流createPushContext:function(self){consolelog(pushcreatecontext);varcontext=wxcreateLivePusherContext(livePusher,self);thissetData({pushVideoContext:context})},推流startPush:function(url){consolelog(startpushing);varthat=this;thatsetData({pushUrl:url},function(){thatdatapushVideoContextstart();})},停止推流stopPush:function(){consolelog(stoppushing);varthat=this;thatsetData({isPushing:false,},function(){thatdatapushVideoContextstop();})},pusherStateChange:function(e){consolelog(livepusheronPushStateChange:,edetailcode);if(edetailcode==1307){thisstopPush();wxshowToast({title:1307,推流失败,})}elseif(edetailcode==1007){wxhideToast();推流成功thissetData({isPushing:true})}},onPushError:function(e){consolelog(pusherror:,e)consoleerror(livepusheronPushError:,edetailerrMsg);thisstopPush();wxshowToast({title:推流失败,icon:none})},即速小程序:livepusher组件目前正在重构,后续版本会更新,如果之后还存在这个错误可以再反馈一下:这是报图片的问题:我发现,只要删掉那个组件里的binderror=onPushError属性就可以了
更多有关「live-pusher安卓手机提推流失败,iOS可以」的讨论可以前往微信公开课小程序参与互动哦!了解更多

「live-pusher安卓手机提推流失败,iOS可以」热门讨论订阅

微信小程序,微信公开课,live-pusher安卓手机提推流失败,iOS可以
订阅小程序

方法1:微信扫描微信公开课小程序码即可订阅热门讨论「live-pusher安卓手机提推流失败,iOS可以」

方法2:微信搜索微信公开课小程序名称进入,即可订阅热门讨论「live-pusher安卓手机提推流失败,iOS可以」

方法3:微信网页访问即速商店,长按识别微信公开课小程序码即可订阅热门讨论「live-pusher安卓手机提推流失败,iOS可以」

微信公开课小程序热门讨论「live-pusher安卓手机提推流失败,iOS可以」由微信公开课原创摘录于微信小程序商店shop.jisuapp.cn,转载请注明出处。

微信公开课热门讨论「live-pusher安卓手机提推流失败,iOS可以」由微信公开课开发者向微信用户提供,并对本服务内容、数据资料及其运营行为等真实性、合法性及有效性承担全部责任。