is there any change to avfoundation?
Generated on 9/26/2024
1 search
Yes, there are changes to AVFoundation as presented at WWDC 2024. Specifically, AVFoundation now supports recording spatial video, which is enabled by the new camera arrangement on the iPhone 15 Pro. This allows the wide and ultra-wide cameras to be used simultaneously for spatial video capture. The process involves using an AV capture session, device input, and movie file output, similar to traditional video recording, but with additional steps to enable spatial video recording. This feature is integrated into existing Apple frameworks, allowing developers to add spatial media to their apps with minimal code changes.
For more details, you can refer to the session Build compelling spatial photo and video experiences (04:13).
Keep colors consistent across captures
Meet the Constant Color API and find out how it can help people use your app to determine precise colors. You’ll learn how to adopt the API, explore its scientific and marketing potential, and discover best practices for making the most of the technology.
Build compelling spatial photo and video experiences
Learn how to adopt spatial photos and videos in your apps. Explore the different types of stereoscopic media and find out how to capture spatial videos in your iOS app on iPhone 15 Pro. Discover the various ways to detect and present spatial media, including the new QuickLook Preview Application API in visionOS. And take a deep dive into the metadata and stereo concepts that make a photo or video spatial.
Explore multiview video playback in visionOS
Learn how AVExperienceController can enable playback of multiple videos on Apple Vision Pro. Review best practices for adoption and explore great use cases, like viewing a sports broadcast from different angles or watching multiple games simultaneously. And discover how to design a compelling and intuitive multiview experience in your app.