Giter VIP home page Giter VIP logo

Comments (6)

janekp avatar janekp commented on June 6, 2024

You are correct.

  1. The start() method itself has a ~1s delay. The initial version (iOS ~8 & 9?) used an asynchronous approach, but could crash the app on iOS 8. It's probably worth to revisit this issue.

  2. The sample buffer appears to use the main thread and this can be optimised in the next release. However, it's used only to copy video pixels to a separate buffer for processing. Processing happens on a background thread and is the most CPU-intensive part.

from ios-sdk.

dlallie avatar dlallie commented on June 6, 2024

Thanks for your quick response.

  1. That sounds like a good idea. I know that as an API distributor you are wanting to provide a very compatible option but I wonder how many (if any) users of this SDK are still targeting iOS 8. The app I am integrating Quikkly with, for example, has a minimum version of iOS 10 and even then 95% of our users are on iOS 11.

  2. Thanks for that insight. Naturally, with the SDK being a binary framework it's difficult for users to profile/know where the performance hits are.

from ios-sdk.

janekp avatar janekp commented on June 6, 2024

Yeah, iOS 8 & 9 are ancient history.

from ios-sdk.

janekp avatar janekp commented on June 6, 2024

Managed to reduce startup time ~0.5s on iPhone X

from ios-sdk.

janekp avatar janekp commented on June 6, 2024

You can try 3.4.6

from ios-sdk.

dlallie avatar dlallie commented on June 6, 2024

Thank you very much, the starting performance is much improved now! The main thread also seems to not be getting blocked up at all now any more.

I'll close this issue now as it has been resolved completely. Thank you again for taking care of this so well and so quickly.

from ios-sdk.

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.