Giter VIP home page Giter VIP logo

Comments (4)

hypafrag avatar hypafrag commented on September 27, 2024

Did you try dispatching record() call to background queue? I'm having same issue with freeze, that's first thing I wanna try.

from arvideokit.

Ashes1st avatar Ashes1st commented on September 27, 2024

Try to call record with viewDidLoad. It's work for me. Issue looks like specific initialisation when first time starting record.

let recThread = Thread() {
self.recorder?.record()
sleep(1)
self.recorder?.stop()
}
recThread.name = "rec"
recThread.start()

from arvideokit.

CaglarDemirci avatar CaglarDemirci commented on September 27, 2024

I am trying to record ARSKView with RecordAR. The problem I am facing is that every time I call RecordAR.record() the app freezes for a moment. Also, text-to-speech pronunciation is very laggy if I call it right after the record function.

Is there any way to avoid this issue? I couldn't find any possible way to prevent this issue in docs and in the internet. Any feedback is highly appreciated, thank you!

I have the same problem did you find something ? @nazdream

from arvideokit.

DangHung301 avatar DangHung301 commented on September 27, 2024

self.showLoading()
DispatchQueue.main.asyncAfter(deadline: .now() + .seconds(1), execute: {
self.startTimer(recoder: record)
DispatchQueue.main.asyncAfter(deadline: .now() + .seconds(3), execute: {
print("done")
self.resetCoudown()
self.showView()
isFirstApp = false
})
})

I also had the same problem and solved it by adding the above code after I initialized RecordAR @nazdream

from arvideokit.

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.