Whated changed in AVFAudio

Asked on 09/06/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).