Giter VIP home page Giter VIP logo

Comments (10)

YuAo avatar YuAo commented on May 26, 2024

Unable to reproduce, nevertheless, the current cancellation logic seems error-prone. Tweaked the implementation, you can try again using this commit to see if the issue goes away: f0fc524

Note:

  • AssetExportSession is not thread-safe, do not access the same instance in different threads.
  • f0fc524 ensures the completion handler will be called after you cancel the export session. If the export session is successfully cancelled AssetExportSession.Error.cancelled is reported. If the cancel happens too late that the export session is finishing its work, a successful export is reported.

from videoio.

larryonoff avatar larryonoff commented on May 26, 2024

@YuAo thanks! Updating internal specs.

from videoio.

larryonoff avatar larryonoff commented on May 26, 2024

@YuAo could you please put podspec file in the repo? I cannot install via CocoaPods pod 'VideoIO', :git => 'https://github.com/MetalPetal/VideoIO.git', :commit => 'f0fc524' since podspec is not available.

from videoio.

YuAo avatar YuAo commented on May 26, 2024

@larryonoff You can always use your own podspec file with CocoaPods. For example:

pod 'VideoIO', :podspec => 'https://gist.githubusercontent.com/YuAo/5607e47faa4ad7ddf2bf101605eb7455/raw/e10e7463de9db291b3d2f543dfc40e329f0b8fe7/VideoIO.head.podspec.json'

from videoio.

larryonoff avatar larryonoff commented on May 26, 2024

@YuAo thanks! I use your gist for the moment :)

from videoio.

larryonoff avatar larryonoff commented on May 26, 2024

@YuAo it looks that there're less crashes according to our internal QA.

from videoio.

YuAo avatar YuAo commented on May 26, 2024

@larryonoff Do you think the problem is fixed? Or it just happens lesser?

from videoio.

larryonoff avatar larryonoff commented on May 26, 2024

@YuAo I'm not sure yet. We're still testing our app. But more testing is planned next week.

At least concrete crash report in Crashlytics is gone.

from videoio.

YuAo avatar YuAo commented on May 26, 2024

@larryonoff Happy to hear that, keep me posted.

from videoio.

larryonoff avatar larryonoff commented on May 26, 2024

@YuAo sure! thanks for the libraries and support.

from videoio.

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.