onReady() { this .playerContext = wx.createLivePlayerContext( 'myLive' ); }, handleStop() { if ( this .data.isPlay) { this .playerContext.stop({ success(){ console.log( "stop success!" ); }, fail(){ console.log( "stop fail!" ); } }); } } |
< live-player id = "myLive" src = "rtmp://live.hkstv.hk.lxdns.com/live/hks" mode = "live" autoplay = "{{true}}" /> |
问题:测试手机vConsole中无法打印出 stop success!及stop fail! ,但是停止按钮非全屏时能生效,全屏时停止按钮不生效。
测试机型:ios5s、乐视2、华为荣耀V8等均不能打印; 全屏时停止按钮不生效的机型有:ios5s、vivo X6S、红米Note、ios7plus
你好,这是一个已知问题,我们会在后续版本中进行修复,另外后续建议通过搜索相关关键字来后在提问,可以提高问题解答的效率。。