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

播放flv视频,可能会引发内存泄露 #139

Closed
823639792 opened this issue Oct 7, 2023 · 2 comments
Closed

播放flv视频,可能会引发内存泄露 #139

823639792 opened this issue Oct 7, 2023 · 2 comments

Comments

@823639792
Copy link

两种情况
1、如果直播视频不包含音频(监控视频比较常见),chrome将标签页切换到后台时,会将视频暂停,而这时视频依旧不断追加到缓存中
设置autoCleanupMaxBackwardDuration无效,因为视频被暂停了,buffered.start(0) 一直没有增加
可以通过不断设置element.currentTime进行规避,但感觉不太好

2、player._msectl._idrList._list 会一直增加,没有找到自动清空的位置

@xqq
Copy link
Owner

xqq commented Oct 7, 2023

2、player._msectl._idrList._list 会一直增加,没有找到自动清空的位置

I'm fixing this problem on another branch 0d523fa .You can build by yourself or wait it to be merged into master.

@xqq
Copy link
Owner

xqq commented Oct 10, 2023

@823639792
Fixed in master branch.

@xqq xqq closed this as completed Oct 21, 2023
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