What’s new in hls

Asked on 08/02/2024

1 search

At WWDC 2024, Apple introduced several new features and enhancements for HLS (HTTP Live Streaming). Here are the key updates:

  1. HLS Interstitials:

    • Integrated Timeline API: A new AVFoundation API called Integrated Timeline was introduced. This API provides a data model for timing and sequence of playback of content within interstitials, allowing developers to build new UI experiences and enable seamless navigation in and out of interstitials. (Enhance ad experiences with HLS interstitials)
    • New HLS Syntax: New syntax for describing how an interstitial should behave in an integrated timeline was discussed. This includes different ways interstitials can be presented on a timeline, such as marking interstitials as points or ranges on the transport bar. (Enhance ad experiences with HLS interstitials)
    • SharePlay Support: SharePlay support for interstitial assets can now be enabled by marking the interstitial as not variable in the API. (Enhance ad experiences with HLS interstitials)
  2. Media Performance Metrics:

    • Enhanced Metrics in iOS 18: For HLS streaming assets, iOS 18 introduces enhanced metrics, providing more data points and insights into media playback performance. This includes events for fetching playlists, media segments, and content keys, as well as buffering stages. (Discover media performance metrics in AVFoundation)

For a deeper dive into these topics, you can watch the sessions:

What’s new in hls | Ask WWDC