Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在VR直播时,vr.destory()销毁后,浏览器还在一直请求直播流数据,试了mxreality.js官网也存在同样问题 #64

Open
StrongFu opened this issue Jul 30, 2020 · 1 comment

Comments

@StrongFu
Copy link

经过尝试分析测试后,以下方法可以解决该问题,希望作者大神可以分析一下,看看是不是可以这样加,方便的话也可以整合到这个js里,谢谢!
if (this.vr != null) {
this.vr.video.pause()
this.vr.hlsPlayer.destroy()
this.vr.destory()
this.vr = null
}

主要是增加这一行 this.vr.hlsPlayer.destroy()

@guoguicheng
Copy link
Owner

已修复

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants