Greetings,
I've been using RPScreenRecorder to record the screen, getting the buffer of it and copying it into a different one to use it, but recently, due to the last big iOS update, now each time I execute it, it crashes. Probably is because it's copying it while the first buffer is being overwritten. That's why I'm using a semaphore. But even with that, it still crashes. I don't know why it doesn't work.
I tried to make a CIImage from the buffer to later copy it in a new buffer, but it keeps crashing. I tried to put some conditions so it's not nil, but nothing is working. I don't know how could it work. I even tried to create a new empty buffer and use it, and that works properly, so the problem is when I combine the RPScreenRecorder buffer and the copying of it. And the worst thing is that before that update, everything was working properly. Do you know any way that I could make it work?
Post
Replies
Boosts
Views
Activity
Hello
I have developed an app to be able to record videos with ARKit and RealityKit. Right now, accessing to the frame from ARKit I'm able to get the image of the camera to record it.
The problem is that the 3D objects are being display in the RealityKit view so they aren't being recorded. I would need to know if there is a way to access to those picture frames somehow, due to having to record the video without the UI.
Thank you!
Hello
I’m trying to develop an AR app where you can put an object in the world, save it, and then load it so it returns to the same place. For that, I’m using both, RealityKit and ARKit. While using RealityKit to create those objects and anchor them to the world, I use ARKit to save the world and then load it.
The problem I have is that every time it loads the world, the anchor from RealityKit becomes crazy and moves randomly to a place that it’s not supposed to be. I already know that using only ARKit it works, but I must use RealityKit for the anchors. I tried to change the transform from those anchors as well, but they don’t move at all.
I tried to reanchor them to one of the ARKit anchors that are saved, but they disappear. So, at this point I’m even wondering if it is even possible to make it work together. Thank you for your help.