2.12.2基础库更新 会导致自定义组件里面的 live-pusher 不被销毁

小程序 文章 2020-08-31 22:01 567 0 全屏看文

AI助手支持GPT4.0

2.12.2基础库更新 会导致自定义组件里面的 live-pusher 不被销毁2.12.2 The basic library update will cause the live-pusher in the custom component to not be destroyed

2.12.2基础库更新 会导致自定义组件里面的 live-pusher 不被销毁
框架类型 问题类型 API/组件名称 终端类型 微信版本 基础库版本
小程序 Bug 更新 框架 自定义组件用时注入 微信安卓客户端 7.0.18 2.12.2

2.12.2 更新内容 更新 框架 自定义组件用时注入

复现demo trtc官方demo即可复现

复现步骤:

全面屏android机器 用手势返回上一页 live-player依旧在推流。拉流端仍然可以拉流

onUnload 生命周期 手动调用 this.exitRoom() 方法也没有任何作用

复现图片

Framework type problem type API / component name terminal type wechat version basic library version applet bug update framework custom component inject wechat Android client 7.0.18 2.12.2 2.12.2 update content update framework custom component injection replication demo TRTC official demo to reproduce steps: full screen Android machine returns to the previous page with gesture Live player is still streaming. The pull stream can still be called manually in the onunload life cycle this.exitRoom () method has no effect on reproducing images

回答:

小程序技术专员-SgLy:

我们这里复现不出来,能否麻烦你试一下从工具里推送 2.12.1 的基础库试一下,看能不能确定是 2.12.2 基础库的问题?另外方便的话也留一下复现的安卓机型号,可能跟特定的机型也有关系

Hypnotized:

最近更新了基础库,我也遇到这个问题了!太可怕了!

黄正梦:

官方救命啊 !!!

-EOF-

AI助手支持GPT4.0