ARVideoKit | record ARKit videos πΉ , photos π , Live Photos π , and GIFs π | iOS library
kandi X-RAY | ARVideoKit Summary
kandi X-RAY | ARVideoKit Summary
An iOS Framework that enables developers to capture videos , photos , Live Photos , and GIFs with ARKit content.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of ARVideoKit
ARVideoKit Key Features
ARVideoKit Examples and Code Snippets
Community Discussions
Trending Discussions on ARVideoKit
QUESTION
I'm using ARKit with Scenekit for rendering. I'd like to let users capture videos of the AR session so that they can save it to their photos or share it.
Currently I'm using ARVideoKit for this, but the performance leaves something to be desired and I've run into some difficult to workaround bugs. Other libraries I've found haven't been any better.
ReplayKit seems like ideal solution but it records my entire app, including the user interface. Is there a way to get ReplayKit to record just the AR content while excluding the user interface?
...ANSWER
Answered 2021-May-31 at 02:52You can use ReplayKit for this but it isn't very well documented. The key is that you render all of your UI elements in a separate UIWindow
that is overlaid on top of a primary UIWindow
that contains the AR content. ReplayKit only records the primary window, so with this structure the user interface elements will not show up in the recording.
While there may be a better way to do this, here's an example of how I setup this window structure for my SwiftUI based app. Here I use the UIWindow.level property to mark the AR content as the main window, while putting the UI into its own secondary window at a higher level:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install ARVideoKit
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page