Code Monkey home page Code Monkey logo

Comments (10)

a6721879 avatar a6721879 commented on June 12, 2024

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

指导一下

from douyin-ios-objectc.

Torin2876 avatar Torin2876 commented on June 12, 2024

现在解决了吗

from douyin-ios-objectc.

PageGuo avatar PageGuo commented on June 12, 2024

from douyin-ios-objectc.

yuanlaikeyizheyang avatar yuanlaikeyizheyang commented on June 12, 2024

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

from douyin-ios-objectc.

zhouxiaowei avatar zhouxiaowei commented on June 12, 2024

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

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

from douyin-ios-objectc.

anchaoLu avatar anchaoLu commented on June 12, 2024

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

from douyin-ios-objectc.

PageGuo avatar PageGuo commented on June 12, 2024

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

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

from douyin-ios-objectc.

52yaoer avatar 52yaoer commented on June 12, 2024

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

from douyin-ios-objectc.

FQIP avatar FQIP commented on June 12, 2024

from douyin-ios-objectc.

PageGuo avatar PageGuo commented on June 12, 2024

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

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

from douyin-ios-objectc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.