Whated changed in AVFAudio

Generated on 9/6/2024

1 search

In the context of AVFAudio, the changes introduced at WWDC 2024 include the introduction of a new AV Foundation API called AV Metrics. This API provides a unified way to gather media performance metrics from various AV Foundation interfaces. It allows apps to receive events as they happen on the media timeline, which are generated at the end of specific activities such as media playlist fetches. The API follows a publisher-subscriber model, enabling developers to subscribe to only the events they are interested in. This enhancement is part of iOS 18 and aims to improve the ability to triage media playback issues and gain insights into the workings of AV Foundation APIs.

For more details, you can refer to the session Discover media performance metrics in AVFoundation (05:36).

Discover media performance metrics in AVFoundation

Discover media performance metrics in AVFoundation

Discover how you can monitor, analyze, and improve user experience with the new media performance APIs. Explore how to monitor AVPlayer performance for HLS assets using different AVMetricEvents, and learn how to use these metrics to understand and triage player performance issues.

Enhance your spatial computing app with RealityKit audio

Enhance your spatial computing app with RealityKit audio

Elevate your spatial computing experience using RealityKit audio. Discover how spatial audio can make your 3D immersive experiences come to life. From ambient audio, reverb, to real-time procedural audio that can add character to your 3D content, learn how RealityKit audio APIs can help make your app more engaging.

Explore multiview video playback in visionOS

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.

Build compelling spatial photo and video experiences

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.

Port advanced games to Apple platforms

Port advanced games to Apple platforms

Discover how simple it can be to reach players on Apple platforms worldwide. We’ll show you how to evaluate your Windows executable on Apple silicon, start your game port with code samples, convert your shader code to Metal, and bring your game to Mac, iPhone, and iPad. Explore enhanced Metal tools that understand HLSL shaders to validate, debug, and profile your ported shaders on Metal.