How to measure start time

Asked on 08/04/2024

1 search

To measure the start time of media playback in AVFoundation, you can use the "likely to keep up" event on the timeline. This event indicates when the AV player has buffered enough to resume playback. By examining this event, you can determine the startup time and identify factors that affected it, such as playlist fetching, media segment fetching, and content key requests.

For more detailed insights, you can refer to the session Discover media performance metrics in AVFoundation (02:11).

Relevant Sessions

  1. Discover media performance metrics in AVFoundation
  2. What’s new in Xcode 16
  3. Enhance ad experiences with HLS interstitials