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

内存不停的增加解决 #28

Open
PageGuo opened this issue Mar 19, 2019 · 10 comments
Open

内存不停的增加解决 #28

PageGuo opened this issue Mar 19, 2019 · 10 comments

Comments

@PageGuo
Copy link

PageGuo commented Mar 19, 2019

找合适的时机把AVPlayerItem置成nil,内存就不会一直增加了

@a6721879
Copy link

找合适的时机把AVPlayerItem置成nil,内存就不会一直增加了

指导一下

@Torin2876
Copy link

现在解决了吗

@PageGuo
Copy link
Author

PageGuo commented May 23, 2019 via email

@yuanlaikeyizheyang
Copy link

能指导下嘛?具体是在哪里释放内存或者释放AVPlayerItem嘛?

@zhouxiaowei
Copy link

找合适的时机把AVPlayerItem置成nil,内存就不会一直增加了

请问在哪里置成nil的 我看是每个cell里都有一个AVPlayerView

@anchaoLu
Copy link

是可以置 nil,但是就没有 抖音 那么丝滑了,抖音感觉每一个视频都是加载好的,切花的时候不会出现黑屏;这个挺难的

@PageGuo
Copy link
Author

PageGuo commented Jul 21, 2022

是可以置 nil,但是就没有 抖音 那么丝滑了,抖音感觉每一个视频都是加载好的,切花的时候不会出现黑屏;这个挺难的

我这里有个解决方案,就是预加载每个视频的2M左右,怎么联系?把内容发你

@52yaoer
Copy link

52yaoer commented Mar 1, 2023

解决方案能发来看看么?怎么个预加载每个视频的2M左右?

@FQIP
Copy link

FQIP commented Mar 1, 2023 via email

@PageGuo
Copy link
Author

PageGuo commented Mar 6, 2023

解决方案能发来看看么?怎么个预加载每个视频的2M左右?

这个方案实现起来不好控制,可以更换方案了。

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

8 participants