what were the changes to hls in 2024

Generated on 8/2/2024

1 search

In 2024, Apple introduced several changes to HLS (HTTP Live Streaming) interstitials, which are primarily used for inserting ads into main content. Here are the key updates:

  1. Integrated Timeline API: A new AVFoundation API called Integrated Timeline was introduced. This API provides a data model for the timing and sequence of playback of content within interstitials, allowing developers to build new UI experiences and enable users to seamlessly navigate in and out of interstitials. (Enhance ad experiences with HLS interstitials)

  2. New HLS Syntax: New syntax was introduced for describing how an interstitial should behave in an integrated timeline. This includes marking interstitials as points or ranges on the transport bar, which can be used for VOD content or live streams. (Enhance ad experiences with HLS interstitials)

  3. SharePlay Support: SharePlay support for interstitial assets was enhanced, allowing interstitials to be marked as non-variable in the API. (Enhance ad experiences with HLS interstitials)

For a detailed overview, you can refer to the session "Enhance ad experiences with HLS interstitials" from WWDC 2024. Here are the chapter markers for this session:

  • 0: Introduction
  • 45: Interstitials recap
  • 116: Integrated timeline
  • 640: SharePlay with interstitials